Skip to content

Commit

Permalink
chore: out the not format files
Browse files Browse the repository at this point in the history
  • Loading branch information
luohoufu committed Jan 14, 2025
1 parent 074760b commit fd042ce
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,17 @@ jobs:
- name: Fail workflow if changes after format
if: steps.check-changes.outputs.changes == 'true'
run: exit 1
run: |
export WORKBASE=$HOME/go/src/infini.sh
export WORK=$WORKBASE/$PNAME
# for foramt check
cd $WORK && echo
git status --porcelain | grep " M .*\.go$"
echo "=== === === === === ==="
echo "IMPORTANT: Above files are not formatted, please run 'make format' to format them."
echo "=== === === === === ==="
exit 1
unit_test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fd042ce

Please sign in to comment.