Skip to content

Commit e4e7f70

Browse files
authored
Merge pull request #3043 from oscr/update-linter-in-github-workflow
🌱 Update github workflow to use same golangci-lint minor version as Makefile
2 parents b1087a7 + a726856 commit e4e7f70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Run linter
4040
uses: golangci/golangci-lint-action@v3
4141
with:
42-
version: v1.49 # Always uses the latest patch version.
42+
version: v1.50
4343
only-new-issues: true # Show only new issues if it's a pull request
4444
- name: Report failure
4545
uses: nashmaniac/[email protected]

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
8383
golangci-lint:
8484
@[ -f $(GOLANGCI_LINT) ] || { \
8585
set -e ;\
86-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.51.1 ;\
86+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.50.1 ;\
8787
}
8888

8989
.PHONY: apidiff

0 commit comments

Comments
 (0)