Skip to content

Commit b47b35d

Browse files
committed
Run go vet as presubmit check
1 parent dba981e commit b47b35d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.bazelci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
platforms:
3+
go_vet:
4+
name: ":go: vet"
5+
platform: ubuntu1804
6+
shell_commands:
7+
- go vet github.com/bazelbuild/bazelisk/...
8+
- go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
9+
- go vet -vettool=$(which shadow) github.com/bazelbuild/bazelisk/...
310
ubuntu1604:
411
build_targets:
512
- //...

0 commit comments

Comments
 (0)