We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d2f9ad commit 8167300Copy full SHA for 8167300
1 file changed
.github/workflows/go.yml
@@ -10,23 +10,20 @@ on:
10
branches: ["main"]
11
12
jobs:
13
- build:
+ test:
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v3
17
+ - uses: actions/setup-go@v4
18
+ - uses: codecov/codecov-action@v3
19
- - name: Set up Go
- uses: actions/setup-go@v4
20
with:
21
go-version: "1.20"
22
23
- name: Test
24
- run: go test -v ./...
25
-
26
- coverage:
27
- runs-on: ubuntu-latest
28
- steps:
29
- - name: Upload coverage reports to Codecov
30
- uses: codecov/codecov-action@v3
31
env:
32
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+ run: |
+ make test
+ go test -race -coverprofile=coverage.txt -covermode=atomic ./...
+ bash <(curl -s https://codecov.io/bash)
0 commit comments