gha: run pre-commit with --color=always

Minor enhancement for the GHA CI.

refs https://github.com/apache/cloudstack/pull/11977
This commit is contained in:
John Bampton
2025-12-05 23:21:22 +10:00
parent 4dc234c7a2
commit 58264bedee
+2 -2
View File
@@ -24,9 +24,9 @@ jobs:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: pre-commit run --all-files
run: pre-commit run --color=always --all-files
- name: Run manual pre-commit hooks
run: pre-commit run --all-files --hook-stage manual
run: pre-commit run --color=always --all-files --hook-stage manual
ls-lint:
name: Run ls-lint
runs-on: ubuntu-latest