1010
1111jobs :
1212 build :
13- name : Build ${{ matrix.go-version }}
13+ name : Build
1414 runs-on : ubuntu-latest
15- strategy :
16- matrix :
17- go-version : [1.21.9, 1.22.3]
1815 steps :
1916 - name : Set up Go ${{ matrix.go-version }}
20- uses : actions/setup-go@v3
17+ uses : actions/setup-go@v5
2118 with :
22- go-version : ${{ matrix.go-version }}
19+ go-version : 1.23.0
2320 - name : Check out code into the Go module directory
24- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2522 - name : Build and Lint
2623 run : |
2724 go build ./...
@@ -31,46 +28,42 @@ jobs:
3128 runs-on : ubuntu-latest
3229 steps :
3330 - name : " Set up Go"
34- uses : actions/setup-go@v3
31+ uses : actions/setup-go@v5
3532 with :
36- go-version : 1.22.3
33+ go-version : 1.23.0
3734 - name : Check out code
38- uses : actions/checkout@v3
35+ uses : actions/checkout@v4
3936 - name : Lint
40- uses : golangci/golangci-lint-action@v3
37+ uses : golangci/golangci-lint-action@v6
4138 with :
4239 version : latest
4340 args : --config ./.golangci.yml --timeout=2m
4441 test :
45- name : Text ${{ matrix.os }} | ${{ matrix.go-version }}
42+ name : Text ${{ matrix.os }}
4643 runs-on : ${{ matrix.os }}
4744 strategy :
4845 matrix :
49- go-version : [1.21.9, 1.22.3]
5046 os : [ubuntu-latest, windows-latest, macos-latest]
5147 steps :
5248 - name : Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
53- uses : actions/setup-go@v3
49+ uses : actions/setup-go@v5
5450 with :
55- go-version : ${{ matrix.go-version }}
51+ go-version : 1.23.0
5652 - name : Check out code into the Go module directory
57- uses : actions/checkout@v3
53+ uses : actions/checkout@v4
5854 - name : Test on ${{ matrix.os }}
5955 run : |
6056 go test ./...
6157 vulncheck :
62- name : Vulncheck ${{ matrix.go-version }}
58+ name : Vulncheck
6359 runs-on : ubuntu-latest
64- strategy :
65- matrix :
66- go-version : [1.21.9, 1.22.3]
6760 steps :
6861 - name : Set up Go ${{ matrix.go-version }}
69- uses : actions/setup-go@v3
62+ uses : actions/setup-go@v5
7063 with :
71- go-version : ${{ matrix.go-version }}
64+ go-version : 1.23.0
7265 - name : Check out code into the Go module directory
73- uses : actions/checkout@v3
66+ uses : actions/checkout@v4
7467 - name : Get govulncheck
7568 run : go install golang.org/x/vuln/cmd/govulncheck@latest
7669 shell : bash
0 commit comments