Skip to content

Commit 5fe69c6

Browse files
committed
Bump golangci-lint to support Go version in workflows
1 parent 98e058f commit 5fe69c6

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/config/file-filters.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ lint:
22
- '**/*.go'
33
- '**/*.sh'
44
- '.golangci.yml'
5+
- '.github/workflows/PR-build.yml'
56
- 'packaging/**'
67
- 'go.mod'
78
- 'Makefile'

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ linters:
4646
- staticcheck
4747
text: 'ST1005: error strings should not be capitalized'
4848
issues:
49-
new-from-rev: 9af4477
49+
new-from-rev: 98e058f9
5050
formatters:
5151
enable:
5252
- gofmt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ install-addlicense:
191191
install-golangci-lint:
192192
#Install from source for golangci-lint is not recommended based on https://golangci-lint.run/usage/install/#install-from-source so using binary
193193
#installation
194-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(TOOLS_BIN_DIR) v2.4.0
194+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(TOOLS_BIN_DIR) v2.12.2
195195

196196
fmt: install-goimports addlicense
197197
go fmt ./...

0 commit comments

Comments
 (0)