Skip to content

Commit

Permalink
chore: bump golangci-lint to v1.41.1 (aquasecurity#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 authored Jul 10, 2021
1 parent a0e5c3a commit 05ae22a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.39
version: v1.41
args: --deadline=30m

- name: Run unit tests
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ deps:
go mod tidy

$(GOBIN)/golangci-lint:
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(GOBIN) v1.21.0
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(GOBIN) v1.41.1

.PHONY: test
test:
Expand All @@ -42,7 +42,7 @@ test-integration: integration/testdata/fixtures/images/*.tar.gz

.PHONY: lint
lint: $(GOBIN)/golangci-lint
$(GOBIN)/golangci-lint run
$(GOBIN)/golangci-lint run --timeout 5m

.PHONY: fmt
fmt:
Expand Down

0 comments on commit 05ae22a

Please sign in to comment.