Enable Lint on CI (#2)
This commit is contained in:
committed by
Motiejus Jakštys
parent
a1b1be2303
commit
fef28b9706
4
bin/buildifier
Executable file
4
bin/buildifier
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
"$(git rev-parse --show-toplevel)/tools/bazel" run @com_github_bazelbuild_buildtools//buildifier -- $@
|
||||
@@ -6,7 +6,4 @@ set -eu
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)/"
|
||||
bazel run @go_sdk//:bin/go -- mod tidy
|
||||
exec bazel run //:gazelle -- update-repos \
|
||||
-from_file=go.mod \
|
||||
-prune \
|
||||
-to_macro=repositories.bzl%go_repositories
|
||||
exec bazel run //:gazelle-update-repos
|
||||
|
||||
Reference in New Issue
Block a user