fix: use setup-go@v3 (latest available on gitea.com mirror)
Some checks failed
CI / vet (push) Failing after 26s
CI / build (push) Failing after 32s
CI / test (push) Failing after 36s

The gitea.com/actions/setup-go mirror only has tags up to v3.
v3 supports go-version-file which is all we need.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 14:13:46 -05:00
parent 022e002f98
commit 294097c3b6

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- uses: https://gitea.com/actions/setup-go@v5 - uses: https://gitea.com/actions/setup-go@v3
with: with:
go-version-file: go.mod go-version-file: go.mod
- run: go build ./... - run: go build ./...
@@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- uses: https://gitea.com/actions/setup-go@v5 - uses: https://gitea.com/actions/setup-go@v3
with: with:
go-version-file: go.mod go-version-file: go.mod
- run: go test ./... - run: go test ./...
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- uses: https://gitea.com/actions/setup-go@v5 - uses: https://gitea.com/actions/setup-go@v3
with: with:
go-version-file: go.mod go-version-file: go.mod
- run: go vet ./... - run: go vet ./...