Go 1.17 and dependencies update (#2381)

* Update Go version to 1.17 and dependencies
* Changes in ProbeHandler and LifeCycleHandler
* Update CRD definitions
* Update Go version to 1.17 in Github Actions

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-03-14 16:41:40 +05:30
committed by GitHub
parent 2f8fde0af0
commit 26d0a89fd5
17 changed files with 1477 additions and 579 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.17
- name: Check out code
uses: actions/checkout@v2
@@ -42,7 +42,7 @@ jobs:
go mod verify
go mod download
LINT_VERSION=1.42.0
LINT_VERSION=1.44.2
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
tar xz --strip-components 1 --wildcards \*/golangci-lint
mkdir -p bin && mv golangci-lint bin/