From 00867262b8938b4204a795d764d047b3366e8940 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Wed, 25 Sep 2024 21:10:08 +0200 Subject: [PATCH] Upgrade the Ubuntu-based runner used in CI to 24.04 --- .github/workflows/audit.yml | 2 +- .github/workflows/check.yml | 12 ++++++------ .github/workflows/codeql.yml | 2 +- .github/workflows/ghasum.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/semgrep.yml | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index e9b4811..9dd98df 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -18,7 +18,7 @@ permissions: read-all jobs: vulnerabilities: name: Vulnerabilities - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4.1.6 diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b632cb3..a1118e9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,7 +10,7 @@ permissions: read-all jobs: build: name: Build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4.1.6 @@ -29,7 +29,7 @@ jobs: run: go run tasks.go build dogfeed: name: Dogfeed - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - test steps: @@ -54,7 +54,7 @@ jobs: go run ./cmd/ghasum verify format: name: Format - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - build steps: @@ -75,7 +75,7 @@ jobs: run: go run tasks.go format-check reproducible: name: Reproducible build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - build steps: @@ -96,7 +96,7 @@ jobs: run: go run tasks.go reproducible test: name: Test - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - build steps: @@ -117,7 +117,7 @@ jobs: run: go run tasks.go coverage vet: name: Vet - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - build steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d23a6c0..f37ae3a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,7 +10,7 @@ permissions: read-all jobs: go: name: Go - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: security-events: write # To upload CodeQL results steps: diff --git a/.github/workflows/ghasum.yml b/.github/workflows/ghasum.yml index 93edad7..39de430 100644 --- a/.github/workflows/ghasum.yml +++ b/.github/workflows/ghasum.yml @@ -9,7 +9,7 @@ permissions: read-all jobs: update: name: Update gha.sum - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ github.actor == 'dependabot[bot]' }} permissions: contents: write # To push a commit diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 079c6eb..1a0d5be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ permissions: read-all jobs: github-release: name: GitHub Release - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write # To create a GitHub Release steps: diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 89e2d3d..b3c87ce 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -9,7 +9,7 @@ permissions: read-all jobs: semgrep: name: Semgrep - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: security-events: write # To upload SARIF results container: