mirror of
https://github.com/georgyo/ifconfig.io.git
synced 2025-02-09 00:54:54 +00:00
Update test.yml
This commit is contained in:
parent
e0726c0996
commit
45aaf5f0f3
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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…
x
Reference in New Issue
Block a user