gate: add golangci-lint to the heavy block #586
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#586
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
One golangci-lint pass runs errcheck, gocritic, ineffassign, and revive
together, type-checked once. This is about a quarter of the wall-clock of four
separate whole-program analyzers, with one finding stream and no doubled
reports. The
.golangci.ymlconfig is already in the tree, withdefault: none.What
golangci-lint run ./...to the parallel heavy block ofscripts/gate.sh, and update the header comment.scripts/setup-dev.shand.forgejo/workflows/ci.yml,kept in sync. Also install standalone errcheck, ineffassign, revive, and
gocritic for single-tool runs. Record the exact pin versions at install time.
gocritic does not self-report a version, so pin it by behavior.
Acceptance