File tree Expand file tree Collapse file tree 6 files changed +18
-9
lines changed Expand file tree Collapse file tree 6 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 1111 - name : Checkout code
1212 uses : actions/checkout@v2
1313 - name : Install Go
14- uses : actions/setup-go@v2
14+ uses : actions/setup-go@v3
1515 with :
1616 go-version : 1.18.x
17+ check-latest : true
1718 - name : Run tests
1819 run : |
1920 set -x
Original file line number Diff line number Diff line change 8080 with :
8181 fetch-depth : 0
8282 - name : Install Go
83- uses : actions/setup-go@v2
83+ uses : actions/setup-go@v3
8484 with :
8585 go-version : ${{ needs.configure.outputs.go_version }}
86+ check-latest : true
8687 - name : Install nfpm (dep and rpm package builder)
8788 run : |
8889 go install github.com/goreleaser/nfpm/v2/cmd/[email protected]
Original file line number Diff line number Diff line change 1717 with :
1818 fetch-depth : 0
1919 - name : Install Go
20- uses : actions/setup-go@v2
20+ uses : actions/setup-go@v3
2121 with :
2222 go-version : 1.18.x
23+ check-latest : true
2324 - name : Check dependencies
2425 run : |
2526 go version
@@ -39,10 +40,11 @@ jobs:
3940 with :
4041 fetch-depth : 0
4142 - name : Install Go
42- uses : actions/setup-go@v2
43+ uses : actions/setup-go@v3
4344 with :
4445 # up this to 1.18.x when we update teh version of golangci-lint to latest
4546 go-version : 1.17.x
47+ check-latest : true
4648 - name : Retrieve golangci-lint version
4749 run : |
4850 echo "::set-output name=Version::$(head -n 1 "${GITHUB_WORKSPACE}/.golangci.yml" | tr -d '# ')"
Original file line number Diff line number Diff line change 2020 - name : Checkout code
2121 uses : actions/checkout@v2
2222 - name : Install Go
23- uses : actions/setup-go@v2
23+ uses : actions/setup-go@v3
2424 with :
2525 go-version : 1.18.x
26+ check-latest : true
2627 - name : Run tests
2728 run : |
2829 set -x
Original file line number Diff line number Diff line change 2727 run : |
2828 echo "Running tests on '${GITHUB_REF}' with '$(git describe --tags --always --long --dirty)' checked out..."
2929 - name : Install Go
30- uses : actions/setup-go@v2
30+ uses : actions/setup-go@v3
3131 with :
3232 go-version : ${{ matrix.go-version }}
33+ check-latest : true
3334 - name : Run tests
3435 run : |
3536 set -x
5152 - name : Checkout code
5253 uses : actions/checkout@v3
5354 - name : Install Go
54- uses : actions/setup-go@v2
55+ uses : actions/setup-go@v3
5556 with :
5657 go-version : 1.x
58+ check-latest : true
5759 - name : Install Go tip
5860 run : |
5961 go install golang.org/dl/gotip@latest
8284 - name : Checkout code
8385 uses : actions/checkout@v3
8486 - name : Install Go
85- uses : actions/setup-go@v2
87+ uses : actions/setup-go@v3
8688 with :
8789 go-version : ${{ matrix.go-version }}
90+ check-latest : true
8891 - name : Run tests with code coverage
8992 run : |
9093 go version
Original file line number Diff line number Diff line change 2222 - name : Checkout code
2323 uses : actions/checkout@v2
2424 - name : Install Go
25- uses : actions/setup-go@v2
25+ uses : actions/setup-go@v3
2626 with :
2727 go-version : 1.18.x
28+ check-latest : true
2829 - name : Install Go tip
2930 if : matrix.go == 'tip'
3031 run : |
You can’t perform that action at this time.
0 commit comments