We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567199a commit 6a48e51Copy full SHA for 6a48e51
1 file changed
.github/workflows/ci.yml
@@ -18,8 +18,17 @@ jobs:
18
contents: read
19
runs-on: ubuntu-latest
20
steps:
21
- - uses: actions/checkout@v4
22
- - uses: pre-commit/action@v3.0.1
+ - uses: actions/checkout@v5
+ - uses: astral-sh/setup-uv@v6
23
+ with:
24
+ cache-dependency-glob: ".github/workflows/*.yml"
25
+ cache-suffix: pre-commit-uv
26
+ - run: uv tool install pre-commit --with pre-commit-uv --force-reinstall
27
+ - uses: actions/cache@v4
28
29
+ path: ~/.cache/pre-commit
30
+ key: pre-commit-uv-v1-${{ hashFiles('.pre-commit-config.yaml') }}
31
+ - run: pre-commit run --all-files --show-diff-on-failure --color=always
32
env:
33
RUFF_OUTPUT_FORMAT: github
34
test:
0 commit comments