ci: replace golangci-lint with go vet
Some checks failed
CI / Lint (push) Failing after 1m30s
CI / Test (push) Failing after 2m22s
CI / Build (push) Has been skipped

golangci-lint v2 install via 'go install' is too heavy for CI
(compiles from source, needs lots of memory and time).
Use go vet as lightweight alternative for now.
This commit is contained in:
xfy 2026-06-12 16:33:56 +08:00
parent 000a6afc08
commit 8953c0c85a

View File

@ -38,10 +38,8 @@ jobs:
exit 1
fi
- name: Run lint
run: |
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
golangci-lint run ./...
- name: Run vet
run: go vet ./...
test:
name: Test