Skip to content

Commit 4522a3e

Browse files
authored
Update .pre-commit-config.yaml (#75)
1 parent 8ceba33 commit 4522a3e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN groupadd --gid $GID $USER \
7878
RUN python3 -m pip install -U \
7979
pre-commit
8080

81-
# isntall development tooling
81+
# install development tooling
8282
RUN --mount=type=cache,target=/var/cache/apt,id=apt \
8383
apt-get update && apt-get upgrade -y \
8484
&& apt-get install -q -y --no-install-recommends \

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
CCACHE_DIR: ${{ github.workspace }}/.ccache
1414
steps:
1515
- name: Check out the repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: Cache ccache
18-
uses: pat-s/[email protected].1
18+
uses: pat-s/[email protected].11
1919
with:
2020
path: ${{ env.CCACHE_DIR }}
2121
key: ccache-${{ github.sha }}-${{ github.run_id }}

.github/workflows/docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Check out the repo
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- name: Set up Docker Buildx
2020
id: buildx
21-
uses: docker/setup-buildx-action@v2
21+
uses: docker/setup-buildx-action@v3
2222
- name: Login to Github Container Registry
23-
uses: docker/login-action@v2
23+
uses: docker/login-action@v3
2424
with:
2525
registry: ghcr.io
2626
username: ${{ github.repository_owner }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Build and push
29-
uses: docker/build-push-action@v3
29+
uses: docker/build-push-action@v6
3030
with:
3131
context: .
3232
file: .devcontainer/Dockerfile

.github/workflows/format.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
name: pre-commit
1111
runs-on: ubuntu-22.04
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-python@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
1515
- name: Install clang-format-14
1616
run: sudo apt-get install clang-format-14
17-
- uses: pre-commit/[email protected].0
17+
- uses: pre-commit/[email protected].1

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Standard hooks
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v3.4.0
4+
rev: v5.0.0
55
hooks:
66
- id: check-added-large-files
77
- id: check-ast
@@ -31,7 +31,7 @@ repos:
3131
- id: trailing-whitespace
3232

3333
- repo: https://github.com/psf/black
34-
rev: 20.8b1
34+
rev: 24.10.0
3535
hooks:
3636
- id: black
3737

@@ -46,7 +46,7 @@ repos:
4646
args: ['-fallback-style=none', '-i']
4747

4848
- repo: https://github.com/codespell-project/codespell
49-
rev: v2.0.0
49+
rev: v2.3.0
5050
hooks:
5151
- id: codespell
5252
args: ['--write-changes', '--ignore-words=.codespell_words']

0 commit comments

Comments
 (0)