Skip to content

Commit 5eaa14b

Browse files
committed
gha: use go install instead of go get (as it's deprecated)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 1807c96 commit 5eaa14b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ jobs:
3939
path: src/github.com/containerd/project
4040

4141
- name: Install dependencies
42-
env:
43-
GO111MODULE: off
4442
run: |
45-
go get -u github.com/vbatts/git-validation
46-
go get -u github.com/kunalkushwaha/ltag
47-
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/[email protected]
43+
go install github.com/vbatts/git-validation@latest
44+
go install github.com/kunalkushwaha/ltag@latest
45+
go install github.com/golangci/golangci-lint/cmd/[email protected]
4846
4947
- name: Check DCO/whitespace/commit message
5048
env:

0 commit comments

Comments
 (0)