mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-11 16:30:12 -04:00
bazel: add golangci-lint to //:check target (#1494)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
e92c08be31
commit
f7713df833
7 changed files with 158 additions and 56 deletions
8
bazel/toolchains/BUILD.golangci.bazel
Normal file
8
bazel/toolchains/BUILD.golangci.bazel
Normal 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"],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue