Re-enable the gazelle linter
I don't understand exactly what's going on with the Go package
mirroring. For some reason gazelle doesn't want to mirror the
flatbuffers package. Possibly because we already have it defined in
our workspace. Not sure. There's some magic somewhere that I don't
have insight into. Regardless, we should explicitly point gazelle at
our vendored version of flatbuffers. That's what this patch
accomplishes.
I think this was caused by
https://github.com/google/flatbuffers/pull/7756 or
https://github.com/google/flatbuffers/pull/7720, but I'm not sure. At
least the timing matches.
This patch effectively reverts
Ibd850b77987625d359a38bf53d7db4ae9bc77dc2.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I489d2150811bd00ab810a3038bbac2d0dc74ff6d
diff --git a/tools/lint/run-ci.sh b/tools/lint/run-ci.sh
index a05aa0f..6e026ee 100755
--- a/tools/lint/run-ci.sh
+++ b/tools/lint/run-ci.sh
@@ -111,12 +111,11 @@
# All the linters that we are going to run.
readonly -a LINTERS=(
gofmt
- # TODO(phil): Re-enable these. No idea what's going on.
- #gomod
- #update_go_repos
- #gazelle
- #tweak_gazelle_go_deps
- #clean_up_go_mirrors
+ gomod
+ update_go_repos
+ gazelle
+ tweak_gazelle_go_deps
+ clean_up_go_mirrors
rustfmt
cargo_lockfile
cargo_raze