diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c1b4763..677f95d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -34,7 +34,7 @@ jobs: uses: actions/cache@v6 with: path: .venv - key: venv-${{ hashFiles('**/uv.lock') }} + key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/uv.lock') }} - name: Cache prek uses: actions/cache@v6 @@ -54,3 +54,6 @@ jobs: env: SKIP: ${{ github.ref == 'refs/heads/main' && 'no-commit-to-branch' || '' }} run: uv run prek run --show-diff-on-failure --color=always --all-files + + - name: Run pytest + run: uv run pytest -q