From 8953c0c85a0c24ec177cc12d0b8688827de313eb Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 12 Jun 2026 16:33:56 +0800 Subject: [PATCH] ci: replace golangci-lint with go vet 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. --- .gitea/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 03e1650..38b286b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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