Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In projects with multiple modules, Shipyard's linting rule ends up ignoring all but the main module. To find all modules which need to be analysed, this looks for directories containing a file named go.mod and *.go files declaring functions. Running golangci-lint on multiple modules now requires a workspace covering the modules, so this is set up before the linter invocation. Signed-off-by: Stephen Kitt <[email protected]>
- Loading branch information