We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a259f2b commit ce305abCopy full SHA for ce305ab
.github/workflows/go.yml
@@ -30,5 +30,7 @@ jobs:
30
- uses: actions/checkout@v2
31
32
- name: Run golint
33
- run: make lint
+ run: |
34
+ export PATH=$PATH:$(go env GOPATH)/bin
35
+ make lint
36
Makefile
@@ -7,6 +7,6 @@ build:
7
go build
8
9
.PHONY: lint
10
-lint:
11
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.39.0
12
- ./bin/golangci-lint run --verbose --enable gofmt
+lint:
+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.39.0
+ golangci-lint run --verbose --enable gofmt
0 commit comments