mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
moar
This commit is contained in:
parent
afde63889b
commit
308d47ec6c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
|
|
@ -63,7 +63,7 @@ jobs:
|
||||||
id: precommit
|
id: precommit
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
pre-commit run --show-diff-on-failure --color=always --all-files 2>&1 | tee precommit.log
|
pre-commit run --show-diff-on-failure --color=always --all-files 2>&1 | tee /tmp/precommit.log
|
||||||
status=${PIPESTATUS[0]}
|
status=${PIPESTATUS[0]}
|
||||||
echo "status=$status" >> $GITHUB_OUTPUT
|
echo "status=$status" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
echo "::error::Pre-commit hooks failed. Please run 'pre-commit run --all-files' locally and commit the fixes."
|
echo "::error::Pre-commit hooks failed. Please run 'pre-commit run --all-files' locally and commit the fixes."
|
||||||
echo ""
|
echo ""
|
||||||
echo "Failed hooks output:"
|
echo "Failed hooks output:"
|
||||||
cat precommit.log
|
cat /tmp/precommit.log
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Debug
|
- name: Debug
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue