Commit b2b1eff8 authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

golangci-lint binary install (#561)

parent 53fb51fc
......@@ -43,11 +43,6 @@ jobs:
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Setup GolangCI-Lint
run: go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@v1.30.0
env:
GO111MODULE: on
working-directory: ~
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: make lint
......
......@@ -33,7 +33,7 @@ lint: linter
.PHONY: linter
linter:
which $(GOLANGCI_LINT) || ( cd /tmp && GO111MODULE=on $(GO) get -u github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION) )
which $(GOLANGCI_LINT) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$($(GO) env GOPATH)/bin $(GOLANGCI_LINT_VERSION)
.PHONY: vet
vet:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment