1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:39:42 +00:00

ci: install goimports for enhanced auto-formatting

This commit is contained in:
Tw93
2026-01-08 14:49:59 +08:00
parent 5de9724c38
commit d13ca66187

View File

@@ -40,8 +40,12 @@ jobs:
with:
go-version: '1.24.6'
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Format all code
run: |
export PATH=$(go env GOPATH)/bin:$PATH
./scripts/check.sh --format
- name: Commit formatting changes