Skip to content

Commit 306552e

Browse files
committed
Fix pre-commit job
1 parent 7b175f7 commit 306552e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
pre-commit:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
persist-credentials: false
3535

3636
- name: Run pre-commit checks
3737
run: |
3838
pipx install uv
39+
uv venv
3940
uv pip install pre-commit
40-
pre-commit install
41-
pre-commit run --all-files --color always --show-diff-on-failure
41+
uv run pre-commit run --all-files --color always --show-diff-on-failure

0 commit comments

Comments
 (0)