blob: 45a8909cd759c728cfe6f81ceea4d5673b3def41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
name: codecov
on: [push]
jobs:
codecov:
name: codecov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14
- name: vet
run: |
go vet ./...
- name: generate report
run: |
go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: upload coverage report
uses: codecov/codecov-action@v1
|