Skip to content

Commit 51e15c2

Browse files
committed
update golangci-lint version
Signed-off-by: Bryce Palmer <[email protected]>
1 parent df1ed6c commit 51e15c2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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/[email protected]

Makefile

Lines changed: 1 addition & 1 deletion
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.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

0 commit comments

Comments
 (0)