Skip to content

Commit c986f04

Browse files
committed
CI: switch from pre-commit to prek
1 parent 55062f5 commit c986f04

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ permissions: {}
1313

1414
jobs:
1515
pre-commit:
16-
name: Run pre-commit
17-
runs-on: ubuntu-latest
16+
name: Run prek for pre-commit checks
17+
runs-on: ubuntu-24.04
1818
steps:
19-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
19+
- name: Checkout code
20+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2021
with:
2122
persist-credentials: false
22-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
23-
- name: install dependencies for sorting regressionfiles.yaml
24-
run: |
25-
python -m pip install 'ruamel.yaml'
26-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
23+
- name: Run prek
24+
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4

0 commit comments

Comments
 (0)