From 81bb9f1ddb3a37efda7cec543efc08e98b7dd44c Mon Sep 17 00:00:00 2001 From: hongming-codex-laptop Date: Tue, 12 May 2026 21:39:11 -0700 Subject: [PATCH] fix(ci): install golangci-lint in platform job --- .gitea/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3f02c34c..56b290f3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -170,9 +170,12 @@ jobs: # CLI (molecli) moved to standalone repo: git.moleculesai.app/molecule-ai/molecule-cli - if: needs.changes.outputs.platform == 'true' run: go vet ./... + - if: needs.changes.outputs.platform == 'true' + name: Install golangci-lint + run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 - if: needs.changes.outputs.platform == 'true' name: Run golangci-lint - run: golangci-lint run --timeout 3m ./... + run: "$(go env GOPATH)/bin/golangci-lint" run --timeout 3m ./... - if: needs.changes.outputs.platform == 'true' name: Diagnostic — per-package verbose 60s run: |