File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,16 @@ jobs:
3030 # Pull requests from the same repository won't trigger this checks as they were already triggered by the push
3131 if : (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
3232 steps :
33+ - name : Setup Go
34+ uses : actions/setup-go@v3
35+ with :
36+ go-version : 1.18
3337 - name : Clone the code
3438 uses : actions/checkout@v3
3539 - name : Run linter
36- uses : golangci/golangci-lint-action@v2
40+ uses : golangci/golangci-lint-action@v3
3741 with :
38- version : v1.45.2 # Always uses the latest patch version.
42+ version : v1.48 # Always uses the latest patch version.
3943 only-new-issues : true # Show only new issues if it's a pull request
4044 - name : Report failure
4145 uses : nashmaniac/create-issue-action@v1.1
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
8383golangci-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.45.2 ; \
86+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT ) ) v1.48.0 ; \
8787 }
8888
8989.PHONY : apidiff
You can’t perform that action at this time.
0 commit comments