Skip to content

Commit 4c1fdf9

Browse files
authored
Update ci dependencies
Remove golang 1.18 and add golang 1.20 Bump golangci-lint to 1.51.2
1 parent a5ecb01 commit 4c1fdf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
build:
55
strategy:
66
matrix:
7-
go-version: [1.18.x, 1.19.x]
7+
go-version: [1.19.x, 1.20.x]
88
platform: [windows-latest]
99
runs-on: ${{ matrix.platform }}
1010
steps:
@@ -24,7 +24,7 @@ jobs:
2424
test:
2525
strategy:
2626
matrix:
27-
go-version: [1.18.x, 1.19.x]
27+
go-version: [1.19.x, 1.20.x]
2828
platform: [ubuntu-latest, macos-latest]
2929
runs-on: ${{ matrix.platform }}
3030
steps:
@@ -47,7 +47,7 @@ jobs:
4747
- name: Lint
4848
run: |
4949
docker run --rm -v `pwd`:/go/src/k8s.io/klog -w /go/src/k8s.io/klog \
50-
golangci/golangci-lint:v1.46.2 golangci-lint run --disable-all -v \
50+
golangci/golangci-lint:v1.51.2 golangci-lint run --disable-all -v \
5151
-E govet -E misspell -E gofmt -E ineffassign -E golint
5252
apidiff:
5353
runs-on: ubuntu-latest
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Go
5757
uses: actions/setup-go@v3
5858
with:
59-
go-version: 1.19.x
59+
go-version: 1.20.x
6060
- name: Add GOBIN to PATH
6161
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
6262
- name: Install dependencies

0 commit comments

Comments
 (0)