You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using Go workspaces, this works better. Assuming you have three modules foo, bar and qux, you can do golangci-lint run ./foo./... ./bar/... ./qux/..., or also golangci-lint run $(go list -m | awk 'NF{print $$0 "/..."}')
Yeah, this is causing me some pain too. Our repo has an arbitrary number of fine-grained Go modules, and it's painful to have to keep this action invocation in sync as modules are added, renamed, and deleted from our repository.
Locally I'm running the following command to lint all go modules in the repository:
Can we add a support for that in
golancl-lint
? It's not dev-friendly to manually add a step and manually assign working directory for every module.The text was updated successfully, but these errors were encountered: