File tree Expand file tree Collapse file tree 2 files changed +11
-26
lines changed Expand file tree Collapse file tree 2 files changed +11
-26
lines changed Original file line number Diff line number Diff line change 6
6
7
7
name : Test
8
8
jobs :
9
- lint :
10
- name : Lint
9
+ golangci :
10
+ name : lint
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Check out code
14
- uses : actions/checkout@v2
15
-
16
- - name : Run linter
17
- uses : golangci/golangci-lint-action@v2
13
+ - uses : actions/setup-go@v3
14
+ with :
15
+ go-version : 1.20.x
16
+ - uses : actions/checkout@v3
17
+ - name : golangci-lint
18
+ uses : golangci/golangci-lint-action@v3
18
19
with :
19
- version : v1.35.2
20
+ version : latest
20
21
21
22
test :
22
23
name : Test
23
24
strategy :
24
25
matrix :
25
- go-version : [1.14 .x, 1.15 .x]
26
+ go-version : [1.17 .x, 1.18.x, 1.20 .x]
26
27
os : [ubuntu-latest, macos-latest]
27
28
runs-on : ${{ matrix.os }}
28
29
steps :
46
47
run : go test -race -covermode=atomic -coverprofile="coverage.out" ./...
47
48
48
49
- name : Upload coverage report to Coveralls
49
- if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.15 .x'
50
+ if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.18 .x'
50
51
uses : shogo82148/actions-goveralls@v1
51
52
with :
52
53
path-to-profile : coverage.out
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments