Update test.yml
This commit is contained in:
parent
45aaf5f0f3
commit
c22766233e
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Format
|
||||
run: if [ "$(go fmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
||||
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
- name: Test
|
||||
run: go test -race ./...
|
||||
|
|
Loading…
Reference in New Issue