Commit 313f419 1 parent 3d08b36 commit 313f419 Copy full SHA for 313f419
File tree 2 files changed +27
-1
lines changed
2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 20
20
name : Build
21
21
strategy :
22
22
matrix :
23
- go : [ '1.17 .x', '1.16 .x' ]
23
+ go : [ '1.18 .x', '1.17 .x' ]
24
24
os : [ ubuntu-latest ]
25
25
26
26
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change
1
+ name : ' Label'
2
+
3
+ on :
4
+ pull_request :
5
+ types : [labeled]
6
+
7
+ jobs :
8
+ build :
9
+ name : Run Build
10
+ if : ${{ github.event.label.name == 'run-build' }}
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Setup Go
18
+ uses : actions/setup-go@v2
19
+ with :
20
+ go-version : ' 1.18.x'
21
+
22
+ - name : Test
23
+ run : go test ./... -race -coverprofile=coverage.txt -covermode=atomic
24
+
25
+ - name : Coverage
26
+ run : bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments