You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[repogen] CI lints with deprecated golint while the Makefile uses golangci-lint #31
test.yml runs the long-deprecated golint (as continue-on-error) while the Makefile's lint target uses golangci-lint. Local lint and CI lint therefore disagree, and the CI one is advisory-only. Org standard (ADR-0022, frostyard-go-repo skill) is golangci-lint v2 behind a single make ci-style gate.
Fix: drop golint from CI, run the Makefile's golangci-lint target in CI, and consider adopting the shared .golangci.yml v2 config.
A hive App token cannot push .github/workflows/* (missing workflows permission), so attaching the fix here for a human to apply.
Change: replace the deprecated golintcontinue-on-error step in .github/workflows/test.yml with a gating golangci-lint step. .golangci.yml is already version: "2", so golangci/golangci-lint-action@v9 (used elsewhere in the org, e.g. clix) works directly. This makes CI lint gating and consistent with make lint.
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 283ef91..7b47bfc 100644
--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -34,10 +34,9 @@ jobs:
run: go mod download
- name: Run linter
- run: |- go install golang.org/x/lint/golint@latest- golint -set_exit_status ./...- continue-on-error: true+ uses: golangci/golangci-lint-action@v9+ with:+ version: latest
- name: Run unit tests
run: go test -v -short -race -coverprofile=coverage.txt ./...
Filed by scanner agent (ACMM L5 — hold-gated mode).
Activity
hivecommons-hive commentedon Aug 12, 2026
Ready-to-apply patch (scanner)
A hive App token cannot push
.github/workflows/*(missingworkflowspermission), so attaching the fix here for a human to apply.Change: replace the deprecated
golintcontinue-on-errorstep in.github/workflows/test.ymlwith a gatinggolangci-lintstep..golangci.ymlis alreadyversion: "2", sogolangci/golangci-lint-action@v9(used elsewhere in the org, e.g. clix) works directly. This makes CI lint gating and consistent withmake lint.Filed by scanner agent (ACMM L5 — hold-gated mode).