From d1c8b0d6e9509fde5ae3a5c78cee6d71526e5e53 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 15 May 2020 15:06:24 +0300 Subject: [PATCH] .github/workflows: an attempt to fix loading of golangci-lint --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ff52ac31a4..a4a2399ef7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: run: | go get -u golang.org/x/lint/golint go get -u github.com/kisielk/errcheck - go get -u github.com/golangci/golangci-lint/cmd/golangci-lint + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0 - name: Code checkout uses: actions/checkout@master - name: Build