Skip to content

Commit

Permalink
Run go vet as presubmit check
Browse files Browse the repository at this point in the history
  • Loading branch information
fweikert committed Oct 19, 2020
1 parent dba981e commit b47b35d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bazelci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
---
platforms:
go_vet:
name: ":go: vet"
platform: ubuntu1804
shell_commands:
- go vet github.com/bazelbuild/bazelisk/...
- go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
- go vet -vettool=$(which shadow) github.com/bazelbuild/bazelisk/...
ubuntu1604:
build_targets:
- //...
Expand Down

0 comments on commit b47b35d

Please sign in to comment.