Skip to content

Commit

Permalink
ci: adding a gazelle check
Browse files Browse the repository at this point in the history
Now we have a gazelle check in CI as well as we have buildifier
  • Loading branch information
manuelnaranjo committed Jul 17, 2024
1 parent 0f67c8d commit 3b9b438
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ jobs:
external-cache: true
- name: buildifier
run: bazel run //:buildifier.check
- name: gazelle
run: bazel run //:gazelle.check
5 changes: 5 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ load("//bazeldnf:defs.bzl", "bazeldnf", "rpmtree", "tar2files")
# gazelle:resolve go github.com/bazelbuild/buildtools/edit @com_github_bazelbuild_buildtools//edit:go_default_library
gazelle(name = "gazelle")

gazelle(
name = "gazelle.check",
mode = "diff",
)

buildifier(
name = "buildifier",
)
Expand Down

0 comments on commit 3b9b438

Please sign in to comment.