ci: install gofumpt before the quality gate

GitHub's hosted runner has no gofumpt preinstalled, unlike the
self-hosted Gitea runner this workflow was copied from -- gofumpt -w .
failed with "command not found" on the first run.
This commit is contained in:
sam committed 2026-08-09 02:00:38 +10:00
1 parent dd9bddc245
commit 87c4fb91f7
1 file changed
+3
+3
View File
@@ -31,6 +31,9 @@ jobs:
with:
node-version: "22"
- name: Install gofumpt
run: go install mvdan.cc/gofumpt@latest
- name: Quality gate
run: |
gofumpt -w .