Skip to content

Commit 0a9e147

Browse files
committed
fix: update golangci-lint
The version used in CI has issues with go 1.22 which prevents building this app. ifshort is fully inactivated in this version so will error if it is enabled.
1 parent 86046a2 commit 0a9e147

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
lint:
6767
docker:
68-
- image: golangci/golangci-lint:v1.51.0
68+
- image: golangci/golangci-lint:v1.59.1
6969
steps:
7070
- checkout
7171
- run:

.golangci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ linters:
4242
- gocyclo
4343
# - gosec - Good to have linter but potential to introduce breaking changes.
4444
# - forbidigo - Good to have linter but potential to introduce breaking changes.
45-
- ifshort
4645
- lll
4746
- misspell
4847
- nakedret

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ GO_BIN=$(shell pwd)/.bin/go
33

44
SHELL:=env PATH=$(GO_BIN):$(PATH) $(SHELL)
55

6-
GOCI_LINT_V?=v1.54.2
6+
GOCI_LINT_V?=v1.59.1
77

88
.PHONY: all
99
all: lint test build

0 commit comments

Comments
 (0)