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: install go for static analysis #50

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

gsanchezgavier
Copy link
Contributor

golangci-lint is failing with:

level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: errors parsing go.mod:\n/home/runner/work/nri-apache/nri-apache/go.mod:3: invalid go version '1.21.6': must match format 1.23\n"

when loading some of the linters we have configured due to outdated go version in the runner.
Seems to be related with this golang/go#61888

@gsanchezgavier gsanchezgavier requested a review from a team February 2, 2024 08:37
@gsanchezgavier
Copy link
Contributor Author

Copy link
Contributor

@marcsanmi marcsanmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing this! 🚀

@gsanchezgavier gsanchezgavier merged commit bf870b7 into main Feb 2, 2024
5 checks passed
@gsanchezgavier gsanchezgavier deleted the reusable/fix-golangci branch February 2, 2024 09:09
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.

2 participants