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
{{ message }}
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.
INFO: Analyzed target //:golangcilint (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //:golangcilint up-to-date:
bazel-bin/golangcilint.bash
INFO: Elapsed time: 0.150s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
ERRO Running error: context loading failed: failed to load program with go/packages: go [list -e -json -compiled -test=true -export=false -deps=true -find=false -- ./packages/api/pkg/...]: exit status 1: go build github.com/golang/protobuf/ptypes/timestamp: no Go files in
go build github.com/golang/protobuf/ptypes/empty: no Go files in
go build github.com/golang/protobuf/proto: no Go files in
go build google.golang.org/grpc: no Go files in
go build google.golang.org/grpc/codes: no Go files in
go build google.golang.org/grpc/status: no Go files in
go build github.com/mishudark/errors: no Go files in
go build github.com/go-redis/redis: no Go files in
go build firebase.google.com/go: no Go files in
go build firebase.google.com/go/messaging: no Go files in
go build github.com/go-ozzo/ozzo-validation: no Go files in
go build upper.io/db.v3/lib/sqlbuilder: no Go files in
go build google.golang.org/api/option: no Go files in
go build github.com/imdario/mergo: no Go files in
go build upper.io/db.v3: no Go files in
go build github.com/lestrrat-go/jwx/jwk: no Go files in
go build github.com/lestrrat-go/jwx/jws: no Go files in
go build google.golang.org/grpc/metadata: no Go files in
The text was updated successfully, but these errors were encountered:
golangcilint rules in this repo only support vendored dependencies, not dependencies brought in via bazel. I recommend you to use https://github.com/bazelbuild/rules_go/blob/master/go/nogo.rst instead. It is also incremental and cacheable, unlike golangcilint rules.
p.s. I should probably add a deprecation warning to the description.
Bazel version: 0.28.0
Bazel-tools: commit 7c3b97b8e8bf4699353fcdf7437c195e2cdcef3b - Jul 2019
Context: I'm able to run and test the actual project with bazel, but linter seems to not use the external deps defined on WORKSPACE
WORKSPACE:
BUILD.bazel
error:
The text was updated successfully, but these errors were encountered: