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

action-goveralls fails with go: download go1.22 for linux/amd64: toolchain not available #485

Closed
altergui opened this issue Mar 4, 2024 · 2 comments

Comments

@altergui
Copy link

altergui commented Mar 4, 2024

since bumping go 1.22 in our project go.mod, actions-goveralls fails

https://github.com/vocdoni/vocdoni-node/actions/runs/8137664043/job/22236741724

Run shogo82148/actions-goveralls@v1
/usr/bin/go env GOROOT
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
Error: Error: The process '/usr/bin/go' failed with exit code 1

i understand this is due to golang/go#61455

🤷

@altergui altergui changed the title action fails with go: download go1.22 for linux/amd64: toolchain not available action-goveralls fails with go: download go1.22 for linux/amd64: toolchain not available Mar 4, 2024
@shogo82148
Copy link
Owner

As a workaround, how about trying to install Go 1.22?

@altergui
Copy link
Author

altergui commented Mar 5, 2024

As a workaround, how about trying to install Go 1.22?

hah! of course! thank you so much, this did it

--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -201,6 +201,10 @@ jobs:
       - uses: actions/download-artifact@v4
         with:
           name: gocoverage-all-textfmt@${{ env.SHA }}
+      - uses: actions/setup-go@v5
+        with:
+          go-version: '1.22'
+          cache: false
       - name: Send coverage to coveralls.io (unit)
         if: ${{ always() }}
         uses: shogo82148/actions-goveralls@v1

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

No branches or pull requests

2 participants