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:
1 parent
dd9bddc245
commit
87c4fb91f7
1 file changed
+3
@@ -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 .
|
||||
|
||||
Reference in new issue
Block a user