Skip to content

Commit 7a1bfdd

Browse files
Fix GH actions
use go install over go get
1 parent 65588b1 commit 7a1bfdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Setup Go environment
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: ^1.14
22+
go-version: ^1.17
2323
id: go
2424
- name: Setup Bazelisk
25-
run: go get github.com/bazelbuild/bazelisk
25+
run: go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
2626
- uses: actions/checkout@v2
2727
- name: Run bazel-diff tests
2828
run: USE_BAZEL_VERSION=last_downstream_green ~/go/bin/bazelisk test //test/...

0 commit comments

Comments
 (0)