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
Add test showing that golangci-lint lint targets created by golangci_lint_aspect() fail to pull in dependencies.
Demonstrates aspect-build#129. Run "./lint.sh src:hello2_go" in example/ and you
should see something like this:
INFO: Invocation ID: ac22e950-5606-4161-8987-0e288bd0d046
INFO: Analyzed target //src:hello2_go (1 packages loaded, 4 targets configured).
INFO: From golangcilint src/golangcilint.hello2_go.aspect_rules_lint.report:
level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package : could not load export data: no export data for \"github.com/aspect-build/rules_lint/example/src/hello_helper\""
level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package : could not load export data: no export data for \"github.com/aspect-build/rules_lint/example/src/hello_helper\"\n\n"
INFO: Found 1 target...
Aspect //tools:lint.bzl%golangci_lint of //src:hello2_go up-to-date:
bazel-bin/src/golangcilint.hello2_go.aspect_rules_lint.report
INFO: Elapsed time: 2.526s, Critical Path: 2.24s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed successfully, 2 total actions
INFO: Build Event Protocol files produced successfully.
0 commit comments