Skip to content

Commit

Permalink
Merge pull request #1487 from stardemo/master
Browse files Browse the repository at this point in the history
add ci notice for go fmt
  • Loading branch information
gqcn authored Nov 18, 2021
2 parents d138c5b + 0d8c9d5 commit d35daa0
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 || exit 1
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 d35daa0

Please sign in to comment.