Skip to content

Lift CI actions and golangci-lint - #11

Merged
umputun merged 1 commit into
masterfrom
chore/lift-ci
Aug 19, 2026
Merged

Lift CI actions and golangci-lint#11
umputun merged 1 commit into
masterfrom
chore/lift-ci

Conversation

@paskal

@paskal paskal commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Brings the workflow up to what the rest of the organisation runs: actions/checkout v4 to v7, actions/setup-go v5 to v7, and golangci-lint-action v7 to v9 with the linter pinned at v2.12.2. go-version stays at "1.24" to match the go directive.

branches: and tags: are now written as ["**"]. The empty form behaves the same way, but actionlint reports it as an empty string.

The newer linter reports 11 modernize issues, fixed here since CI would otherwise be red: atomic.Int32/atomic.Int64 in place of the free atomic.AddInt32/atomic.LoadInt32 calls in tests, and slices.Backward for the two middleware loops in Use. Both conversions are mechanical and preserve the existing order and semantics.

@paskal
paskal requested a review from umputun as a code owner August 19, 2026 05:08
checkout v4 to v7, setup-go v5 to v7, golangci-lint-action v7 to v9 with the
linter pinned at v2.12.2. go-version stays at 1.24 to match the go directive.

branches and tags are quoted as ["**"], the empty form works but actionlint
flags it.

the newer linter reports 11 modernize issues: atomic.Int32/Int64 instead of the
free functions in tests, and slices.Backward for the middleware loops.
@umputun
umputun merged commit 0254573 into master Aug 19, 2026
4 checks passed
@umputun
umputun deleted the chore/lift-ci branch August 19, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants