9
9
name : golangci-lint
10
10
runs-on : ${{ matrix.platform }}
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
13
- name : golangci-lint
14
- uses : golangci/golangci-lint-action@v2
14
+ uses : golangci/golangci-lint-action@v3
15
15
with :
16
- version : v1.37 .1
16
+ version : v1.50 .1
17
17
docker :
18
18
strategy :
19
19
matrix :
20
- go-version : [1.17 .x]
20
+ go-version : [1.20 .x]
21
21
platform : [ubuntu-latest]
22
22
name : docker
23
23
runs-on : ${{ matrix.platform }}
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v3
26
26
with :
27
27
fetch-depth : 1
28
- - uses : actions/setup-go@v2
28
+ - uses : actions/setup-go@v3
29
29
with :
30
30
go-version : ${{ matrix.go-version }}
31
31
- run : |
32
+ go build -o go-mod-outdated main.go
32
33
docker build -t psampaz/go-mod-outdated .
33
34
go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated
34
35
tests :
35
36
strategy :
36
37
matrix :
37
- go-version : [1.16 .x, 1.17 .x]
38
+ go-version : [1.19 .x, 1.20 .x]
38
39
platform : [ubuntu-latest, macos-latest]
39
40
name : tests
40
41
runs-on : ${{ matrix.platform }}
41
42
steps :
42
- - uses : actions/checkout@v2
43
+ - uses : actions/checkout@v3
43
44
with :
44
45
fetch-depth : 1
45
- - uses : actions/setup-go@v2
46
+ - uses : actions/setup-go@v3
46
47
with :
47
48
go-version : ${{ matrix.go-version }}
48
49
- run : |
49
- go get github.com/mfridman/tparse
50
+ go install github.com/mfridman/tparse@latest
50
51
go test -v -race -cover -json ./... | $(go env GOPATH)/bin/tparse -all
51
52
- run : |
52
53
go install
@@ -57,15 +58,15 @@ jobs:
57
58
coverage :
58
59
strategy :
59
60
matrix :
60
- go-version : [1.17 .x]
61
+ go-version : [1.20 .x]
61
62
platform : [ubuntu-latest]
62
63
name : coverage
63
64
runs-on : ${{ matrix.platform }}
64
65
steps :
65
- - uses : actions/checkout@v2
66
+ - uses : actions/checkout@v3
66
67
with :
67
68
fetch-depth : 1
68
- - uses : actions/setup-go@v2
69
+ - uses : actions/setup-go@v3
69
70
with :
70
71
go-version : ${{ matrix.go-version }}
71
72
- run : |
0 commit comments