Update go.yml

This commit is contained in:
kayos 2022-01-08 17:40:40 -08:00 committed by GitHub
parent 96aa826516
commit 535a69cd92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,9 +12,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Codecov
uses: codecov/codecov-action@v2.1.0
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)