Use go tool gofumpt for make format

This way it always uses our pinned 0.9.2 version.
This commit is contained in:
Stefan Haller
2026-07-02 10:41:23 +02:00
parent 659908195e
commit 2d4a4dcdc1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ Windows box has only `just`).
list and the keybinding cheatsheets in `docs-master/keybindings/`). Run this list and the keybinding cheatsheets in `docs-master/keybindings/`). Run this
whenever you add/remove/rename an integration test or change keybindings, and whenever you add/remove/rename an integration test or change keybindings, and
commit the result. CI fails if these are stale. commit the result. CI fails if these are stale.
- `just format``gofumpt -l -w .`. Run before every commit. - `just format``go tool gofumpt -l -w .`. Run before every commit.
- `just build` — build the binary. - `just build` — build the binary.
- `just unit-test``go test ./... -short`. - `just unit-test``go test ./... -short`.
- `just e2e` — run all integration tests headlessly; `just e2e <name>` runs a - `just e2e` — run all integration tests headlessly; `just e2e <name>` runs a
+1 -1
View File
@@ -36,7 +36,7 @@ generate:
.PHONY: format .PHONY: format
format: format:
gofumpt -l -w . go tool gofumpt -l -w .
.PHONY: lint .PHONY: lint
lint: lint:
+1 -1
View File
@@ -34,7 +34,7 @@ generate:
go generate ./... go generate ./...
format: format:
gofumpt -l -w . go tool gofumpt -l -w .
lint: lint:
./scripts/golangci-lint-shim.sh run ./scripts/golangci-lint-shim.sh run