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: run go vet and staticcheck separately #133

Merged
merged 5 commits into from
Nov 9, 2024
Merged

Conversation

ryboe
Copy link
Owner

@ryboe ryboe commented Nov 9, 2024

  • dominickh, the author of staticcheck, doesn't recommend running staticcheck as a part of golangci-lint. Run the real, official staticcheck separately.
  • run go vet separately as well. This way we know we're using the latest official go vet tool
  • use autobuild to set up Go in the CodeQL analysis workflow
  • rewrite TestExtractingArgsFromSourceText to avoid use of deprecated ast.Object type
  • use WillAbides/setup-go-faster instead of actions/setup-go because it's faster

dominickh, the author of staticcheck, doesn't recommend running
staticcheck as a part of golangci-lint. Run the real, official
staticcheck separately.

Run go vet separately as well. This way we know we're using the latest
official go vet tool.

Also, use autobuild to set up Go in the CodeQL analysis workflow.
@ryboe ryboe merged commit ffeda21 into master Nov 9, 2024
3 checks passed
@ryboe ryboe deleted the rb/ci_improvements branch November 9, 2024 23:22
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.

1 participant