From 1536d7684bd7801397f8c4317194db03cb7d3d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Wed, 14 Jan 2026 10:42:13 +0100 Subject: [PATCH] Use a fork of actions/setup-go The fork supports release candidate versions. --- .github/workflows/build.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/security.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf76e07..3b1949f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v6 + uses: arnested/setup-go@rc with: go-version-file: go.mod - name: Run go test @@ -40,7 +40,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v6 + uses: arnested/setup-go@rc with: go-version-file: go.mod - name: Install nilaway diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9893342..24d4f94 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,7 +38,7 @@ jobs: - uses: arnested/go-version-action@v2 id: go-version - name: Install Go ${{ steps.go-version.outputs.minimal }} - uses: actions/setup-go@v6 + uses: arnested/setup-go@rc with: go-version: ${{ steps.go-version.outputs.minimal }} - run: go version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac67480..92d6c3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: DEFAULT_BUMP: patch DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} - name: Set up Go ${{ steps.go-version.outputs.go-mod-version }} - uses: actions/setup-go@v6 + uses: arnested/setup-go@rc with: go-version: ${{ steps.go-version.outputs.go-mod-version }} - name: Install changelog management tool diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 6dca771..1226409 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -36,7 +36,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Setup Go - uses: actions/setup-go@v6 + uses: arnested/setup-go@rc with: go-version-file: go.mod - name: Run govulncheck