99 name : golangci-lint
1010 runs-on : ${{ matrix.platform }}
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v3
1313 - name : golangci-lint
14- uses : golangci/golangci-lint-action@v2
14+ uses : golangci/golangci-lint-action@v3
1515 with :
16- version : v1.37 .1
16+ version : v1.50 .1
1717 docker :
1818 strategy :
1919 matrix :
20- go-version : [1.17 .x]
20+ go-version : [1.20 .x]
2121 platform : [ubuntu-latest]
2222 name : docker
2323 runs-on : ${{ matrix.platform }}
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v3
2626 with :
2727 fetch-depth : 1
28- - uses : actions/setup-go@v2
28+ - uses : actions/setup-go@v3
2929 with :
3030 go-version : ${{ matrix.go-version }}
3131 - run : |
32+ go build -o go-mod-outdated main.go
3233 docker build -t psampaz/go-mod-outdated .
3334 go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated
3435 tests :
3536 strategy :
3637 matrix :
37- go-version : [1.16 .x, 1.17 .x]
38+ go-version : [1.19 .x, 1.20 .x]
3839 platform : [ubuntu-latest, macos-latest]
3940 name : tests
4041 runs-on : ${{ matrix.platform }}
4142 steps :
42- - uses : actions/checkout@v2
43+ - uses : actions/checkout@v3
4344 with :
4445 fetch-depth : 1
45- - uses : actions/setup-go@v2
46+ - uses : actions/setup-go@v3
4647 with :
4748 go-version : ${{ matrix.go-version }}
4849 - run : |
49- go get github.com/mfridman/tparse
50+ go install github.com/mfridman/tparse@latest
5051 go test -v -race -cover -json ./... | $(go env GOPATH)/bin/tparse -all
5152 - run : |
5253 go install
@@ -57,15 +58,15 @@ jobs:
5758 coverage :
5859 strategy :
5960 matrix :
60- go-version : [1.17 .x]
61+ go-version : [1.20 .x]
6162 platform : [ubuntu-latest]
6263 name : coverage
6364 runs-on : ${{ matrix.platform }}
6465 steps :
65- - uses : actions/checkout@v2
66+ - uses : actions/checkout@v3
6667 with :
6768 fetch-depth : 1
68- - uses : actions/setup-go@v2
69+ - uses : actions/setup-go@v3
6970 with :
7071 go-version : ${{ matrix.go-version }}
7172 - run : |
0 commit comments