Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,18 @@ jobs:
go-version: '1.26'
- uses: golangci/golangci-lint-action@v9
with:
version: latest
# Pinned, not `latest`. "Merge on green" only means something if
# green is a property of this repo rather than of the calendar: with
# `latest`, a golangci-lint release that enables a linter by default
# or tightens an existing one turns this gate red on a commit that
# touched nothing, and it reads as "your PR broke lint" to whoever is
# unlucky enough to be next. Bump this pin when we choose a new
# linter; never inherit one.
#
# v2.12.2 is what `latest` resolved to for the run that took this
# repo to 0 findings, so the pin is the version that was actually
# verified, not a guess.
version: v2.12.2
working-directory: go
# Tests are linted, not skipped. --tests=false was hiding two things
# at once: it reported 21 production symbols as unused because the
Expand Down
Loading