Skip to content

Commit a256983

Browse files
authored
Merge pull request #1733 from rackerlabs/prek
chore: switch to prek from pre-commit
2 parents 6cceb51 + 023441c commit a256983

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,4 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
17-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
18-
id: setup-python
19-
with:
20-
python-version: '3.13'
21-
cache: 'pip'
22-
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
23-
with:
24-
path: ~/.cache/pre-commit
25-
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
26-
- run: pip install pre-commit
27-
- name: "run pre-commit"
28-
run: |
29-
pre-commit run --all-files --show-diff-on-failure
17+
- uses: j178/prek-action@v1

0 commit comments

Comments
 (0)