Skip to content

Commit

Permalink
modified: golangci-lint install
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra24 committed Dec 12, 2019
1 parent 701aebf commit 5029d33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: go mod download

- name: install lint
- name: Install golangci-lint
run: |
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.18.0
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
sudo mv ./bin/golangci-lint $GOPATH/bin/
- name: lint
run: golangci-lint run
Expand Down

0 comments on commit 5029d33

Please sign in to comment.