Skip to content

Commit 8e407e7

Browse files
committed
Upgrade GitHub Actions in pre-commit workflow
1 parent 8329c90 commit 8e407e7

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88

99
jobs:
1010
pre-commit:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

18-
- uses: actions/setup-python@v2
18+
- uses: actions/setup-python@v6
1919

20-
- uses: pre-commit/action@v2.0.0
20+
- uses: pre-commit/action@v3.0.1
2121
with:
2222
token: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: black
1717
language_version: python3
1818
- repo: https://github.com/pycqa/isort
19-
rev: 5.10.1
19+
rev: 6.0.1
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/PyCQA/flake8
@@ -27,8 +27,8 @@ repos:
2727
- flake8-bugbear
2828
- flake8-comprehensions
2929
- flake8-tidy-imports
30-
- repo: https://github.com/mgedmin/check-manifest
31-
rev: "0.48"
32-
hooks:
33-
- id: check-manifest
34-
args: [--no-build-isolation]
30+
#- repo: https://github.com/mgedmin/check-manifest
31+
# rev: "0.48"
32+
# hooks:
33+
# - id: check-manifest
34+
# args: [--no-build-isolation]

0 commit comments

Comments
 (0)