Skip to content

Commit 8bfefb4

Browse files
committed
ci/release: fix error - go mod tidy: exit status 2; output: go: unknown subcommand "mod"
The Go 1.20 version must be quoted in CI config or we end up with Go 1.2 being installed, which has no go mod support.
1 parent 29057e8 commit 8bfefb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Set up Go
3030
uses: actions/setup-go@v4
3131
with:
32-
go-version: 1.20
32+
go-version: "1.20"
3333
-
3434
name: install cosign
3535
uses: sigstore/cosign-installer@main
@@ -44,4 +44,4 @@ jobs:
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
COSIGN_EXPERIMENTAL: 1
47-
GOVERSION: 1.20
47+
GOVERSION: "1.20"

0 commit comments

Comments
 (0)