Skip to content

Commit

Permalink
[20] Add buildifier to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-sbarra-apexai committed Oct 7, 2024
1 parent 214f690 commit 353ba1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
with:
path: "/home/runner/.cache/bazel"
key: ${{ hashFiles('.bazelrc', '.bazelversion', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
- name: Install buildifier
run: |
curl -f -s -L -o /usr/local/bin/buildifier https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-linux-$(arch | sed 's/aarch64/arm64/;s/x86_64/amd64/')
chmod a+x /usr/local/bin/buildifier
- name: Run buildifier
run: buildifier -mode check -r .
- name: Build
# TODO(evan.flynn): uncomment once the rules are properly fixed
# run: bazel build //...
Expand Down

0 comments on commit 353ba1e

Please sign in to comment.