Run actions/setup-go@v5
Setup go version spec 1.21.x
Found in cache @ /opt/hostedtoolcache/go/1.21.12/x64
Added go to the path
Successfully set up Go version 1.21.x
/opt/hostedtoolcache/go/1.21.12/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.21.[12](https://github.com/Versent/saml2aws/actions/runs/10027395403/job/27713011199#step:2:13)/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/saml2aws/saml2aws. Supported file pattern: go.sum
go version go1.21.12 linux/amd64
Possible cause, the step
actions/checkout
happens after theactions/setup-go
instead of before. The GoReleaser Action documentation shows it should be before: https://github.com/goreleaser/goreleaser-action?tab=readme-ov-file#usageExample: https://github.com/Versent/saml2aws/actions/runs/10027395403/job/27713011199#step:2:16