Upgrade GitHub Actions to Go 1.16.x
Tests failed because:
Error: ../../../go/pkg/mod/k8s.io/client-go@v0.22.0/plugin/pkg/client/auth/exec/metrics.go:21:2: package io/fs is not in GOROOT (/opt/hostedtoolcache/go/1.15.15/x64/src/io/fs)
This PR updated the toolchain to Go 1.16.x but CI was not yet upgraded. Adding a commit for that, CI should pass after.
@@ -22,7 +22,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
- go-version: 1.15.x
+ go-version: 1.16.x
- name: Run tests
run: make test TEST_FLAGS="-race -tags integration -timeout 5m"
- name: Check codegen
