Skip to content

Commit d638611

Browse files
committed
Refactor Go tools installation in CI workflow for consistency
1 parent 0104fe8 commit d638611

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
-
1919
name: Download Go tools
2020
run: |
21-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
22-
go get golang.org/x/tools/cmd/goimports
21+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2
22+
go install golang.org/x/tools/cmd/goimports@latest
2323
echo "PATH=$PATH:$(go env GOPATH)/bin" >> $GITHUB_ENV
2424
-
2525
name: Run lint

0 commit comments

Comments
 (0)