From 33049893f034264b74e2d22673d3975e3ef5d771 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 30 Aug 2026 11:34:14 +0100 Subject: [PATCH] ci: Update versions of github actions This patch updates the version of the github actions we use in our CI workflows. While they still run correctly, they're showing some warnings about being too out of date in the UI. --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/docker.yml | 12 ++++++------ .github/workflows/gotests.yml | 8 ++++---- .github/workflows/govulncheck.yml | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6fc47e0..2f74f7e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,11 +27,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -45,7 +45,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -58,5 +58,5 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 068aa93..d749f1b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Docker info (for debugging) run: docker info - name: Build test image @@ -31,8 +31,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 with: go-version: "1.x" check-latest: true @@ -61,14 +61,14 @@ jobs: needs: [integration] if: github.event_name == 'push' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Build run: docker build -t chasquid -f docker/Dockerfile . # Push it to Dockerhub. - name: Dockerhub login if: env.HAS_DOCKER - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKER_REGISTRY_USER }} password: ${{ secrets.DOCKER_REGISTRY_TOKEN }} @@ -86,7 +86,7 @@ jobs: # Push it to Gitlab. - name: Gitlab login if: env.HAS_GITLAB - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: registry.gitlab.com username: ${{ secrets.GITLAB_REGISTRY_USER }} diff --git a/.github/workflows/gotests.yml b/.github/workflows/gotests.yml index a89560a..1a5e7c3 100644 --- a/.github/workflows/gotests.yml +++ b/.github/workflows/gotests.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 with: go-version-file: 'go.mod' - name: normal tests @@ -27,8 +27,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 with: go-version: "1.x" check-latest: true diff --git a/.github/workflows/govulncheck.yml b/.github/workflows/govulncheck.yml index 91c3ae1..2143416 100644 --- a/.github/workflows/govulncheck.yml +++ b/.github/workflows/govulncheck.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 with: go-version: ">=1.19.2" check-latest: true