Skip to content

Commit 5cc1fbf

Browse files
committed
♻️ Remove incorrect pre-commit cache configuration from CI workflow
Remove the pre-commit cache setup that was using the wrong Python version. The cache was configured based on the system Python version, but the workflow uses Python managed by uv.
1 parent 40d1a94 commit 5cc1fbf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/uv-tests.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
- uses: astral-sh/setup-uv@v6
4141
with:
4242
version: ${{ matrix.uv-version }}
43-
# set pre-commit cache
44-
- name: set PY
45-
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
46-
- uses: actions/cache@v4
47-
with:
48-
path: ~/.cache/pre-commit
49-
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
50-
5143
- name: Configure Git
5244
run: |
5345
git config --global user.email "${{ github.actor }}@users.noreply.github.com"

0 commit comments

Comments
 (0)