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

Re-enable static analysis for build tags on tests. #163

Closed
ralimi opened this issue Sep 3, 2023 · 0 comments · Fixed by #197
Closed

Re-enable static analysis for build tags on tests. #163

ralimi opened this issue Sep 3, 2023 · 0 comments · Fixed by #197

Comments

@ralimi
Copy link
Collaborator

ralimi commented Sep 3, 2023

The migration to bzlmod in #162 left nogo unsupported. See bazel-contrib/rules_go#3529 for context.

We have a static analysis tool that ensures there are no Go buildtags specified in _test.go files. Including such tags can silently prevent tests from running. See https://github.com/google/chrome-ssh-agent/tree/master/nogo/testbuildtags for the code.

This issue tracks finding a way to re-enable these static analysis checks.

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 a pull request may close this issue.

1 participant