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

Fixing default includes of nogo #4195

Merged
merged 4 commits into from
Dec 13, 2024
Merged

Fixing default includes of nogo #4195

merged 4 commits into from
Dec 13, 2024

Conversation

linzhp
Copy link
Contributor

@linzhp linzhp commented Dec 12, 2024

Currently, nogo will only run within rules_go, not the main repo, by default. This PR also remove the setting of includes in tests by default to expose issues in the default includes of go_register_nogo

Fixes #4194

@linzhp linzhp changed the title Adding test for default includes and composite linter Stop setting includes for nogo when the test doesn't request it Dec 12, 2024
@fmeum
Copy link
Member

fmeum commented Dec 13, 2024

@linzhp I fixed the issue on your branch, CI is passing now with the new test coverage.

@linzhp linzhp changed the title Stop setting includes for nogo when the test doesn't request it Fixing default includes of nogo Dec 13, 2024
@linzhp linzhp merged commit 54293b3 into bazel-contrib:master Dec 13, 2024
1 check passed
@linzhp linzhp deleted the nogo branch December 13, 2024 15:32
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.

the default linter "composites" no longer works in the latest rules_go version
2 participants