Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork178
Failed to load package goarch: could not load export data: internal error in importing \"internal/goarch\"#1184
Answeredbyldez
martiriera asked this question inQ&A
-
Welcome
Description of the problemI'm trying to use theSimple example onhttps://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use and I get this error: I foundthis old related issue but it's closed and I think it's already out of date. Thanks in advance. Full logs here: Version of golangci-lintgolangci-lint-1.60.3-linux-amd64 Version of the GitHub Actiongolangci/golangci-lint-action@v6 Workflow filename:Pre-Mergeon:pull_request:branches: -mainpermissions:contents:read# Optional: allow read access to pull request. Use with `only-new-issues` option.# pull-requests: readjobs:golangci:name:Lintruns-on:ubuntu-lateststeps: -uses:actions/checkout@v4 -uses:actions/setup-go@v5with:go-version:stable -name:golangci-lintuses:golangci/golangci-lint-action@v6with:version:v1.60test:name:Testneeds:golangciruns-on:ubuntu-lateststeps: -uses:actions/checkout@v4 -uses:actions/setup-go@v5with:go-version:stable -name:Run testsrun:go test -v ./... Golangci-lint configurationNone Go version1.23.4 Code example or link to a public repository |
BetaWas this translation helpful?Give feedback.
All reactions
Answered by ldezFeb 22, 2025
Hello,
you should update the golangci-lint version:
uses: golangci/golangci-lint-action@v6 with: version: v1.64
Replies: 1 comment 1 reply
-
Hello, you should update the golangci-lint version: uses: golangci/golangci-lint-action@v6 with: version: v1.64 |
BetaWas this translation helpful?Give feedback.
All reactions
1 reply
-
Thanks,@ldez! Have a nice day 😄 |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Answer selected bymartiriera
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A Labels
None yet
Converted from issue
This discussion was converted from issue #1184 on February 22, 2025 17:58.