We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5782b commit 9af9873Copy full SHA for 9af9873
.github/workflows/buildifier.yml
@@ -16,11 +16,15 @@ jobs:
16
check:
17
runs-on: ubuntu-latest
18
steps:
19
- - uses: actions/checkout@v4
20
- - uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
+ - name: Checkout
+ uses: actions/checkout@v4
21
+ - name: Check bazel formatting
22
+ uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
23
with:
24
extra_args: buildifier --all-files --show-diff-on-failure
- - if: failure()
25
+ - name: Print rectifying command
26
+ if: failure()
27
run: |
- echo "In order to format all files, please run:"
28
+ echo "In order to format all bazel files, please run:"
29
echo " bazel run //:buildifier"
30
+ exit 1
0 commit comments