Skip to content

Commit 58264be

Browse files
committed
gha: run pre-commit with --color=always
Minor enhancement for the GHA CI. refs apache/cloudstack#11977
1 parent 4dc234c commit 58264be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
path: ~/.cache/pre-commit
2525
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
2626
- name: Run pre-commit
27-
run: pre-commit run --all-files
27+
run: pre-commit run --color=always --all-files
2828
- name: Run manual pre-commit hooks
29-
run: pre-commit run --all-files --hook-stage manual
29+
run: pre-commit run --color=always --all-files --hook-stage manual
3030
ls-lint:
3131
name: Run ls-lint
3232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)