Skip to content

Commit

Permalink
Merge pull request #3043 from oscr/update-linter-in-github-workflow
Browse files Browse the repository at this point in the history
🌱 Update github workflow to use same golangci-lint minor version as Makefile
  • Loading branch information
k8s-ci-robot authored Oct 25, 2022
2 parents b1087a7 + a726856 commit e4e7f70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run linter
uses: golangci/golangci-lint-action@v3
with:
version: v1.49 # Always uses the latest patch version.
version: v1.50
only-new-issues: true # Show only new issues if it's a pull request
- name: Report failure
uses: nashmaniac/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
golangci-lint:
@[ -f $(GOLANGCI_LINT) ] || { \
set -e ;\
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.51.1 ;\
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.50.1 ;\
}

.PHONY: apidiff
Expand Down

0 comments on commit e4e7f70

Please sign in to comment.