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: |