Skip to content

fix make lint and make gosec error (#1127) #1128

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

Merged
merged 1 commit into from
Oct 17, 2021

Conversation

yosmoc
Copy link
Contributor

@yosmoc yosmoc commented Oct 13, 2021

fix #1127

Install golangci-lint / gosec, if it is not installed.
If we only support over go 1.16, we should use go install instead of go
get.

Use binary installation for golangci-lint because they recommends.
https://golangci-lint.run/usage/install/#local-installation

@senorprogrammer
Copy link
Collaborator

We do only officially support Go 1.16 and greater (with a preference for 1.17.x)

fix wtfutil#1127

Install golangci-lint / gosec, if it is not installed.
Use binary installation for golangci-lint because they recommend.
https://golangci-lint.run/usage/install/#local-installation
@yosmoc
Copy link
Contributor Author

yosmoc commented Oct 14, 2021

@senorprogrammer OK. Thanks!
Now I fixed it. Please confirm again.

@senorprogrammer senorprogrammer merged commit 694c9ba into wtfutil:master Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

make lint / make gosec failed if golangci-lint / gosec is not installed
2 participants