chore: align tooling and dependency management#4
Merged
Conversation
3d88a68 to
abcc04b
Compare
abcc04b to
e3ed572
Compare
Three changes:
1. Dependabot: add .github/dependabot.yml with weekly, grouped version
updates for the Go module ('fix' prefix so bumps flow through the
semantic release) and GitHub Actions ('ci' prefix).
2. Go 1.24 -> 1.26: update the mise tool pin and go.mod language version.
3. Conventional Commits enforced via commitlint: add .commitlintrc.yaml,
a 'lint:commits' mise task wired into the build, and fetch-depth: 0 on
the CI/release checkouts so commitlint can range over commits.
Verified locally on go1.26.4: build, lint, tests pass; commitlint rejects
non-conventional messages and accepts conventional ones.
e3ed572 to
e120d89
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three repository-hygiene changes, bundled.
1. Dependabot
Adds
.github/dependabot.ymlwith weekly, grouped version updates:/) —fix:prefix so bumps flow through semantic-release/) —ci:prefix(The repo-level Dependabot security-alerts toggle is managed separately from this version-update config.)
2. Go 1.24 → 1.26
Updates the mise tool pin and the
go.modlanguage version.3. Commitlint (Conventional Commits in CI)
.commitlintrc.yaml— allowed typesfeat|fix|refactor|chore|docs|test|perf|ci, non-empty type/subject, sentence-case subject, header ≤60 chars.mise.toml— pins@commitlint/cli@21, adds alint:commitstask wired intomise run build.fetch-depth: 0so commitlint can range over commits.Verification
On go1.26.4:
mise run buildsteps pass — lint clean, tests pass at 77.8% coverage, commitlint rejects non-conventional messages and accepts conventional ones.