aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJason Cox <me@jasoncarloscox.com>2024-02-12 20:04:11 -0500
committerRobin Jarry <robin@jarry.cc>2024-02-14 23:20:46 +0100
commit19d270886e3abc7468d21f11145d75974320f933 (patch)
tree20b72dcf3b3796b044a7673da0c3a09c23097665 /GNUmakefile
parentb68b15c3726730d160235571c531209bcf902b5f (diff)
downloadaerc-19d270886e3abc7468d21f11145d75974320f933.tar.gz
lint: update dependencies to work with go v1.22
Linting with golangci-lint and contrib/linters.go both started crashing for me after upgrading go to v1.22.0 from v1.21.7. Bump golangci-lint and golang.org/x/tools to their latest versions to fix this problem. Signed-off-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 096ccf8c..34e1a592 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -55,7 +55,7 @@ lint:
@$(GO) run mvdan.cc/gofumpt@$(gofumpt_tag) -d . | grep ^ \
&& echo The above files need to be formatted, please run make fmt && exit 1 \
|| echo all files formatted.
- $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 run \
+ $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.1 run \
$$(echo $(GOFLAGS) | sed s/-tags=/--build-tags=/)
$(GO) run $(GOFLAGS) contrib/linters.go ./...