Skip to content

Commit

Permalink
chore(build): use latest version of golangci-lint (#834)
Browse files Browse the repository at this point in the history
applies to GH Workflow (using the golangci-lint-action) and
from CLI via `make lint`

Fixes #833

Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon authored Mar 2, 2021
1 parent 0950da1 commit 30cb170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:
- name: Lint
uses: golangci/[email protected]
with:
version: v1.29
version: latest
args: -c .golangci.yml

2 changes: 1 addition & 1 deletion make/lint.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: install-golangci-lint
## Install development tools.
install-golangci-lint:
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.29.0
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin

.PHONY: lint
## run golangci-lint against project
Expand Down

0 comments on commit 30cb170

Please sign in to comment.