Skip to content

Commit

Permalink
move "gofmt check pass" echo
Browse files Browse the repository at this point in the history
  • Loading branch information
stardemo committed Nov 18, 2021
1 parent 9547277 commit 0d8c9d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
run: |
date
find . -name "*.go" | xargs gofmt -w
git diff --name-only --exit-code || if [ $? != 0 ];then echo "Notice: gofmt check failed,please gofmt before pr." && exit 1; else echo "gofmt check pass."; fi
git diff --name-only --exit-code || if [ $? != 0 ];then echo "Notice: gofmt check failed,please gofmt before pr." && exit 1; fi
echo "gofmt check pass."
sudo echo "127.0.0.1 local" | sudo tee -a /etc/hosts
- name: Run i386 Arch Test
Expand Down

0 comments on commit 0d8c9d5

Please sign in to comment.