Skip to content

Commit

Permalink
ci(lint): use specific version for golaingci-lint rather than latest (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsong authored Oct 4, 2023
2 parents 5c4e639 + b499ab0 commit 11859e0
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.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: latest
version: v1.54
skip-cache: true
skip-pkg-cache: true

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fmt:
@$(foreach path,$(PKGS),gofmt -w -s ./$(path);)

lint:
docker run --rm -v $$(pwd):/app -w /app golangci/golangci-lint:latest-alpine golangci-lint run
docker run --rm -v $$(pwd):/app -w /app golangci/golangci-lint:v1.54-alpine golangci-lint run

vet:
@echo govet
Expand Down

0 comments on commit 11859e0

Please sign in to comment.