-
Notifications
You must be signed in to change notification settings - Fork 5
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
golangci-lint #1319
golangci-lint #1319
Conversation
@@ -9,7 +9,7 @@ run: | |||
tests: true | |||
allow-parallel-runners: false | |||
allow-serial-runners: false | |||
# go: "1.17" # Do not set a go limit | |||
# go: "1.23" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this comment stick around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think it does any harm really
uses: actions/setup-go@v5 | ||
with: | ||
go-version: stable | ||
cache: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose we can try turn this on in a follow-up PR and see what effect it has?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah definitely!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also create a make
target for running linting please.
* golangci-lint * test linter with err * will this work? * perhaps it is working? * try a 5 min timeout with verbose... * 10m no critic * try a bump * wip * reference field directly? * tmate * bump jimm? * approle * . * int overflows. * rename * extra newline * add linting to make * make target
Description
Introduces golangci-lint action. Now all of JIMM's linting issues have been fixes. This should pass.
Engineering checklist
Check only items that apply
Test instructions
Notes for code reviewers