Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix go version #102

Merged
merged 1 commit into from
Nov 21, 2024
Merged

fix go version #102

merged 1 commit into from
Nov 21, 2024

Conversation

sivchari
Copy link
Member

The recently patch added the go toolchain version and has already failed workflow. That is why the setup-go uses go.mod version (1.22.7), but Go uses toolchain version (1.23.2).

Run actions/setup-go@v5
Setup go version spec 1.22.[7](https://github.com/pipe-cd/terraform-provider-pipecd/actions/runs/11932893110/job/33258806657#step:3:8)
Attempting to download 1.22.7...
matching 1.22.7...
Acquiring 1.22.7 from https://github.com/actions/go-versions/releases/download/1.22.7-107322763[8](https://github.com/pipe-cd/terraform-provider-pipecd/actions/runs/11932893110/job/33258806657#step:3:9)4/go-1.22.7-linux-x64.tar.gz
Extracting Go...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/573a651e-8fbf-45fe-ae4[9](https://github.com/pipe-cd/terraform-provider-pipecd/actions/runs/11932893110/job/33258806657#step:3:10)-c2fe1cc5d909 -f /home/runner/work/_temp/0965c43b-9e62-4ef1-aa87-bd6788527cc4
Successfully extracted go to /home/runner/work/_temp/573a651e-8fbf-45fe-ae49-c2fe1cc5d909
Adding to the cache ...
Successfully cached go to /opt/hostedtoolcache/go/1.22.7/x64
Added go to the path
Successfully set up Go version 1.22.7
go: downloading go1.23.2 (linux/amd64)
/opt/hostedtoolcache/go/1.22.7/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.22.7/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Cache is not found
go version go1.23.2 linux/amd64

Signed-off-by: sivchari <shibuuuu5@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant