Skip to content

build(deps): move the golangci-lint and rumdl pins out of lint.yml - #853

Merged
lens0021 merged 3 commits into
mainfrom
claude/project-thread-um9pr6
Oct 13, 2026
Merged

lens0021 merged 3 commits into
mainfrom
claude/project-thread-um9pr6

Conversation

@lens0021

@lens0021 lens0021 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by lens0021 · project thread

Before: golangci-lint and rumdl were pinned inside .github/workflows/lint.yml and bumped by updatecli. Updatecli pushes with GITHUB_TOKEN, which may not change a workflow file, so neither pin ever moved. The weekly Updatecli run has failed every week since 2026-09-14, and golangci-lint stayed at v2.5.0 until it broke on the Go 1.26 bump in #847 (fixed by hand in #852).

After: both pins live outside the workflows, so they move again with no token or app key to manage.

  • golangci-lint is pinned in a Go module of its own, tools/golangci-lint, and Dependabot's gomod update keeps it current, so its pull requests run CI straight away. A tools.go blank import keeps the requirement direct, because Dependabot skips // indirect requirements and a tool directive alone is recorded as indirect. The module stays apart from /caddy so golangci-lint's dependencies stay out of the server's build. The job reads the version from that go.mod, the same way the biome job reads .biome.json. Its updatecli manifest is removed.
  • rumdl stays with updatecli and the rvben/rumdl action, with its version moved to .tool-versions, which the job reads. No Python or npm is brought in for it. Its updatecli pull requests still need a close and reopen to run CI.
  • .typos.toml ignores Go pseudo-version hashes, which the new go.mod is full of, and .dockerignore leaves tools and .tool-versions out of the image.

How: checked locally that go tool golangci-lint version reports 2.14.0, that the version steps' awk reads both pins (and both require forms for golangci-lint), and that yamllint, typos and zizmor are clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MxoPoPfm7NKhbhskvX5oR7

Updatecli pushes with GITHUB_TOKEN, which may not change a workflow file, so
the two pins written in lint.yml never moved and the weekly run failed. Pin
rumdl in pyproject.toml beside yamllint and golangci-lint in a Go module of its
own, where Dependabot's uv and gomod updates already reach, and read both from
there.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxoPoPfm7NKhbhskvX5oR7
@lens0021 lens0021 self-assigned this Oct 13, 2026
The project is PHP and Go; Python stays out of it. rumdl ships on npm beside
its Rust binary, and package.json is already where Dependabot moves the
JavaScript tooling.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxoPoPfm7NKhbhskvX5oR7
The project is PHP and Go, and neither Python nor npm belongs in it to install
a Rust linter. Updatecli keeps bumping rumdl, now in .tool-versions, which
GITHUB_TOKEN may push to.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxoPoPfm7NKhbhskvX5oR7
@lens0021 lens0021 changed the title build(deps): let Dependabot keep golangci-lint and rumdl current build(deps): move the golangci-lint and rumdl pins out of lint.yml Oct 13, 2026
@lens0021
lens0021 marked this pull request as ready for review October 13, 2026 12:02
@lens0021
lens0021 merged commit fe3aea5 into main Oct 13, 2026
30 checks passed
@lens0021
lens0021 deleted the claude/project-thread-um9pr6 branch October 13, 2026 23:45
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