chore: typo imformat output (#84)
This commit is contained in:
parent
6d47ae9731
commit
bdbb753328
|
@ -126,7 +126,17 @@ jobs:
|
||||||
|
|
||||||
- name: Fail workflow if changes after format
|
- name: Fail workflow if changes after format
|
||||||
if: steps.check-changes.outputs.changes == 'true'
|
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:
|
unit_test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue