mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-06 12:08:33 +00:00
Style: use gofumpt for fmt
This commit is contained in:
1 parent
4ce35870fe
commit
f1cf7e9269
34 files changed
+78
-84
No files matched your search
@@ -30,9 +30,8 @@ jobs:
|
||||
- name: Get dependencies, run test and static check
|
||||
run: |
|
||||
go test ./...
|
||||
go vet ./...
|
||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
staticcheck -- $(go list ./...)
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
golangci-lint run --disable-all -E govet -E gofumpt -E megacheck ./...
|
||||
|
||||
- name: Build
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
Reference in new issue
Block a user