Skip to content

Commit b8fd205

Browse files
committed
Makefile: use go1.22 semantics for gofumpt
gofumpt defaults to using the go version from go.mod, but as we don't have one, we need to set it explicitly. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 26526f9 commit b8fd205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ shellcheck: ## run shellcheck validation
5252
.PHONY: fmt
5353
fmt: ## run gofumpt (if present) or gofmt
5454
@if command -v gofumpt > /dev/null; then \
55-
gofumpt -w -d -lang=1.21 . ; \
55+
gofumpt -w -d -lang=1.23 . ; \
5656
else \
5757
go list -f {{.Dir}} ./... | xargs gofmt -w -s -d ; \
5858
fi

0 commit comments

Comments
 (0)