Skip to content

Commit 6c2bb8e

Browse files
committed
#129: make upgrade + pre-commit autoupdate + actions/cache@v4.0.2
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
1 parent fffa82a commit 6c2bb8e

File tree

3 files changed

+459
-369
lines changed

3 files changed

+459
-369
lines changed

.github/workflows/checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
hashFiles('pyproject.toml', 'requirements/**.txt') }}" >> $GITHUB_OUTPUT
4343
- name: Restore Python virtual environment
4444
id: cache-venv
45-
uses: actions/cache@v4.0.2
45+
uses: actions/cache@v4.1.0
4646
with:
4747
path: .venv
4848
key: >-
@@ -55,7 +55,7 @@ jobs:
5555
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
5656
- name: Restore pre-commit environment
5757
id: cache-precommit
58-
uses: actions/cache@v4.0.2
58+
uses: actions/cache@v4.1.0
5959
with:
6060
path: ${{ env.PRE_COMMIT_CACHE }}
6161
key: >-
@@ -80,14 +80,14 @@ jobs:
8080
check-latest: true
8181
- name: Restore Python virtual environment
8282
id: cache-venv
83-
uses: actions/cache@v4.0.2
83+
uses: actions/cache@v4.1.0
8484
with:
8585
path: .venv
8686
fail-on-cache-miss: true
8787
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ needs.prepare-base.outputs.python-key }}
8888
- name: Restore pre-commit environment
8989
id: cache-precommit
90-
uses: actions/cache@v4.0.2
90+
uses: actions/cache@v4.1.0
9191
with:
9292
path: ${{ env.PRE_COMMIT_CACHE }}
9393
fail-on-cache-miss: true

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.6.0
7+
rev: v6.0.0
88
hooks:
99
- id: end-of-file-fixer
1010
exclude: ^.idea/
@@ -35,18 +35,18 @@ repos:
3535
- --offset
3636
- '2'
3737
- repo: https://github.com/astral-sh/ruff-pre-commit
38-
rev: v0.6.8
38+
rev: v0.14.1
3939
hooks:
4040
- id: ruff
4141
args:
4242
- --fix
4343
exclude: tests/input/
4444
- repo: https://github.com/psf/black
45-
rev: 24.8.0
45+
rev: 25.9.0
4646
hooks:
4747
- id: black
4848
- repo: https://github.com/asottile/blacken-docs
49-
rev: 1.18.0
49+
rev: 1.20.0
5050
hooks:
5151
- id: blacken-docs
5252
additional_dependencies:
@@ -74,7 +74,7 @@ repos:
7474
language: pygrep
7575
types: [python]
7676
- repo: https://github.com/pre-commit/mirrors-mypy
77-
rev: v1.11.2
77+
rev: v1.18.2
7878
hooks:
7979
- id: mypy
8080
exclude: tests/input/

0 commit comments

Comments
 (0)