diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 2191b5e07..ea995fb73 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -12,17 +12,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.13" - - name: Install uv - uses: astral-sh/setup-uv@v3 - - name: Setup Mise - uses: jdx/mise-action@v2 - with: - install: true - install_args: "-y" - experimental: true + - name: Install Flox + uses: flox/install-flox-action@v2 - name: Run Python quality checks - run: mise tasks run python:lint + uses: flox/activate-action@v1 + with: + command: mise tasks run python:lint diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 63380220e..3ca78d1fe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,22 +12,16 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.13" - - name: Install uv - uses: astral-sh/setup-uv@v3 - - name: Setup Mise - uses: jdx/mise-action@v2 - with: - install: true - install_args: "-y" - experimental: true + - name: Install Flox + uses: flox/install-flox-action@v2 - name: Install Python dependencies - run: mise tasks run python:install + uses: flox/activate-action@v1 + with: + command: mise tasks run python:install - name: Run unit tests with coverage - run: mise tasks run python:test + uses: flox/activate-action@v1 + with: + command: mise tasks run python:test - name: Upload coverage to Coveralls uses: coverallsapp/github-action@v2 with: