bazel: add golangci-lint to //:check target (#1494)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-23 12:27:09 -04:00 committed by GitHub
parent e92c08be31
commit f7713df833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 158 additions and 56 deletions

View file

@ -0,0 +1,8 @@
genrule(
name = "golangci_lint_bin",
srcs = ["golangci-lint"],
outs = ["golangci_lint_bin_out"],
cmd = "cp $< $@", # Copy the binary to the output directory.
executable = True,
visibility = ["//visibility:public"],
)