@@ -17,15 +17,15 @@ jobs:
1717 name : golangci-lint
1818 runs-on : ubuntu-22.04
1919 steps :
20- - uses : actions/setup-go@v3
20+ - uses : actions/setup-go@v5
2121 with :
22- go-version : 1.19
22+ go-version : 1.23
2323 - uses : actions/checkout@v3
2424 - name : golangci-lint
25- uses : golangci/golangci-lint-action@v3
25+ uses : golangci/golangci-lint-action@v6
2626 with :
2727 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
28- version : v1.49
28+ version : v1.62
2929
3030 # Optional: working directory, useful for monorepos
3131 # working-directory: somedir
4444 with :
4545 fetch-depth : 1
4646 - name : Setup Go
47- uses : actions/setup-go@v3
47+ uses : actions/setup-go@v5
4848 with :
49- go-version : 1.19
49+ go-version : 1.23
5050 - run : GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/kisielk/errcheck@latest; /home/runner/go/bin/errcheck -tags draft ./...
5151 error_code_check :
5252 name : Error code utility check
5959 - name : Setup Go
6060 uses : actions/setup-go@v3
6161 with :
62- go-version : 1.19
62+ go-version : 1.23
6363 - run : |
6464 errWillHave="level=error"
6565 GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/layer5io/meshkit/cmd/errorutil;
@@ -79,13 +79,13 @@ jobs:
7979 with :
8080 fetch-depth : 1
8181 - name : Setup Go
82- uses : actions/setup-go@v3
82+ uses : actions/setup-go@v5
8383 with :
84- go-version : 1.19
85- - uses : dominikh/staticcheck-action@v1.2.0
84+ go-version : 1.23
85+ - uses : dominikh/staticcheck-action@v1
8686 with :
8787 install-go : false
88- version : " 2022 .1"
88+ version : " 2024 .1"
8989 vet :
9090 name : Vet
9191 runs-on : ubuntu-22.04
9595 with :
9696 fetch-depth : 1
9797 - name : Setup Go
98- uses : actions/setup-go@v3
98+ uses : actions/setup-go@v5
9999 with :
100- go-version : 1.19
100+ go-version : 1.23
101101 - run : GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./...
102102 sec_check :
103103 name : Security check
@@ -125,9 +125,9 @@ jobs:
125125 with :
126126 fetch-depth : 1
127127 - name : Setup Go
128- uses : actions/setup-go@v3
128+ uses : actions/setup-go@v5
129129 with :
130- go-version : 1.19
130+ go-version : 1.23
131131 - name : Create cluster using KinD
132132 uses : engineerd/setup-kind@v0.5.0
133133 with :
0 commit comments