diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d6b96ba..72f0e1a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -78,7 +78,7 @@ RUN groupadd --gid $GID $USER \ RUN python3 -m pip install -U \ pre-commit -# isntall development tooling +# install development tooling RUN --mount=type=cache,target=/var/cache/apt,id=apt \ apt-get update && apt-get upgrade -y \ && apt-get install -q -y --no-install-recommends \ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3abae05..a770ff5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,9 +13,9 @@ jobs: CCACHE_DIR: ${{ github.workspace }}/.ccache steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache ccache - uses: pat-s/always-upload-cache@v3.0.1 + uses: pat-s/always-upload-cache@v3.0.11 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.sha }}-${{ github.run_id }} diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index ff06935..f7bd113 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -15,18 +15,18 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Github Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: .devcontainer/Dockerfile diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 27d5e7d..d29917a 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -10,8 +10,8 @@ jobs: name: pre-commit runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - name: Install clang-format-14 run: sudo apt-get install clang-format-14 - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fea7c9d..f953c07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -31,7 +31,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 24.10.0 hooks: - id: black @@ -46,7 +46,7 @@ repos: args: ['-fallback-style=none', '-i'] - repo: https://github.com/codespell-project/codespell - rev: v2.0.0 + rev: v2.3.0 hooks: - id: codespell args: ['--write-changes', '--ignore-words=.codespell_words']