Skip to content

Commit 3b942ba

Browse files
committed
⬆️ Update prek checks and GH actions
* 👷 Switch to prek
1 parent 6fe032b commit 3b942ba

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
pre-commit:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1919

2020
with:
2121
persist-credentials: false
22-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
23-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
22+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
23+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
2424
with:
2525
path: ~/.cache/pre-commit
2626
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
persist-credentials: false
2727

2828
- name: Run zizmor
29-
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
29+
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
3030
with:
3131
persona: pedantic

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: black
2121
- repo: https://github.com/asottile/reorder-python-imports
22-
rev: 5e38415c12154247a099c7023c210e3d458275b5 # v3.17.0
22+
rev: 7885866bd38c852b5e042c4aeef0285d715ffeee # frozen: v3.16.0
2323
hooks:
2424
- id: reorder-python-imports
2525
- repo: https://github.com/pycqa/flake8

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ docs = [
2525

2626
dev = [
2727
{ include-group = "docs" },
28-
"pre-commit",
28+
"prek",
2929
]
3030

3131
[project.urls]

0 commit comments

Comments
 (0)