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:
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
@@ -40,8 +40,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '1.24.6'
|
go-version: '1.24.6'
|
||||||
|
|
||||||
|
- name: Install goimports
|
||||||
|
run: go install golang.org/x/tools/cmd/goimports@latest
|
||||||
|
|
||||||
- name: Format all code
|
- name: Format all code
|
||||||
run: |
|
run: |
|
||||||
|
export PATH=$(go env GOPATH)/bin:$PATH
|
||||||
./scripts/check.sh --format
|
./scripts/check.sh --format
|
||||||
|
|
||||||
- name: Commit formatting changes
|
- name: Commit formatting changes
|
||||||
|
|||||||
Reference in New Issue
Block a user