We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7135206 commit fb01d6dCopy full SHA for fb01d6d
.github/workflows/go-test.yml
@@ -1,6 +1,17 @@
1
name: go test
2
3
-on: [push, pull_request]
+on:
4
+ push:
5
+ tags:
6
+ - v*
7
+ branches:
8
+ - master
9
+ paths-ignore:
10
+ - '**.md'
11
+
12
+ pull_request:
13
14
15
16
jobs:
17
lint:
@@ -42,7 +53,7 @@ jobs:
42
53
- run: go test -v -race -coverprofile="coverage-${{ matrix.os }}.${{ matrix.go_version }}.out" -covermode=atomic -coverpkg=$(go list)/... ./...
43
54
44
55
- name: Upload coverage to codecov
45
- uses: codecov/codecov-action@v4
56
+ uses: codecov/codecov-action@v3
46
57
with:
47
58
files: './coverage-${{ matrix.os }}.${{ matrix.go_version }}.out'
48
59
flags: '${{ matrix.go_version }}'
0 commit comments