Skip to content

Commit

Permalink
.github/workflows: install Go for go run in multicluster job
Browse files Browse the repository at this point in the history
The multicluster workflow uses `go run` but doesn't explicitly install a
specific Go version. Thus, in some cases an older Go version might be
used which leads to failures such as:

```
vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/metrics.go:21:2: cannot find package "." in:
	/home/runner/work/cilium-cli/cilium-cli/vendor/io/fs
```

Fixes #554

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Sep 20, 2021
1 parent 8e3f099 commit 863520c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
run: |
gcloud info
- name: Set up Go
uses: actions/setup-go@331ce1d993939866bb63c32c6cbbfd48fa76fc57
with:
go-version: 1.17.1

- name: Set up job variables
id: vars
run: |
Expand Down

0 comments on commit 863520c

Please sign in to comment.