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

ci(golint): add golint-ci GitHub Action #3164

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

andrewpollock
Copy link
Contributor

This commit replicates OSV-Scanner's golangci-lint action configuration

Fixes: #734

This commit replicates OSV-Scanner's golangci-lint action configuration

Fixes: google#734
Copy link
Contributor

@another-rex another-rex left a comment

Choose a reason for hiding this comment

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

You also should copy over the golangci config yaml file. .golangci.yaml

andrewpollock and others added 6 commits February 19, 2025 01:17
This commit includes the .golangci.yaml from osv-scanner
This moves the config file to the target directory and removes depguard
and some other OSV-Scanner things cargo culted across unecessarily
This should behave the same locally and on GitHub
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.

Investigate if https://staticcheck.io/ can and should be added to the Go code checks
2 participants