File tree 1 file changed +16
-17
lines changed
1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,31 @@ name: Go
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
-
11
10
build :
12
11
strategy :
13
12
matrix :
14
- go-version : [1.16 .x, 1.17 .x]
13
+ go-version : [1.20 .x, 1.21 .x]
15
14
runs-on : ubuntu-latest
16
15
steps :
17
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v2
18
17
19
- - name : Set up Go
20
- uses : actions/setup-go@v2
21
- with :
22
- go-version : ${{ matrix.go-version }}
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v2
20
+ with :
21
+ go-version : ${{ matrix.go-version }}
23
22
24
- - name : golangci-lint
25
- uses : golangci/golangci-lint-action@v2
26
- with :
27
- version : v1.29
23
+ - name : golangci-lint
24
+ uses : golangci/golangci-lint-action@v3
25
+ with :
26
+ version : latest
28
27
29
- - name : Build
30
- run : go build -v ./...
28
+ - name : Build
29
+ run : go build -v ./...
31
30
32
- - name : Test
33
- run : go test -v ./...
31
+ - name : Test
32
+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments