mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
CI: add names to steps
This commit is contained in:
12
.github/workflows/buildifier.yml
vendored
12
.github/workflows/buildifier.yml
vendored
@@ -16,11 +16,15 @@ jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Check bazel formatting
|
||||
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
||||
with:
|
||||
extra_args: buildifier --all-files --show-diff-on-failure
|
||||
- if: failure()
|
||||
- name: Print rectifying command
|
||||
if: failure()
|
||||
run: |
|
||||
echo "In order to format all files, please run:"
|
||||
echo "In order to format all bazel files, please run:"
|
||||
echo " bazel run //:buildifier"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user