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