Skip to content

Commit 9af9873

Browse files
committed
CI: add names to steps
1 parent 9f5782b commit 9af9873

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/buildifier.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
check:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Check bazel formatting
22+
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
2123
with:
2224
extra_args: buildifier --all-files --show-diff-on-failure
23-
- if: failure()
25+
- name: Print rectifying command
26+
if: failure()
2427
run: |
25-
echo "In order to format all files, please run:"
28+
echo "In order to format all bazel files, please run:"
2629
echo " bazel run //:buildifier"
30+
exit 1

0 commit comments

Comments
 (0)