Skip to content

ci: run build and tests when .tools changes, bump gofumpt to 0.12.0 - #151

Merged
katbyte merged 1 commit into
mainfrom
kt/tools-required-checks
Oct 20, 2026
Merged

katbyte merged 1 commit into
mainfrom
kt/tools-required-checks

Conversation

@katbyte

@katbyte katbyte commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Run the required build and test checks on changes to .tools/, and bump gofumpt to 0.12.0 there, replacing #142.

Why: main requires lint, build and test to pass before merging, but build and test only start when certain files change, and .tools/ was not one of them. #142, a dependabot bump that only touches .tools/go.mod and go.sum, has been blocked since 7 October waiting for two checks that would never report. #124 got through on 5 September only because build and test were not yet required.

Build and tests now run when the dev tools change. This is the same line #131 added for depscheck; lint already had it.

       - 'vendor/**'
+      - '.tools/**'
       - '.github/workflows/**'

gofumpt 0.12.0. The same change dependabot made in #142, applied here so it isn't lost when that PR closes.

-	mvdan.cc/gofumpt v0.11.0
+	mvdan.cc/gofumpt v0.12.0

Things that are fine as they are. gofumpt 0.12.0 was built from this branch and run over every Go file outside vendor; it wants no changes. depscheck, lint (on Go 1.26.6, as CI uses), build, actionlint, yamllint and typos pass locally. A PR that only touches docs such as the README would still be blocked the same way, since none of the three required checks run for those files; that is left for another change.

build and test are required checks on main but skipped changes that only touch .tools/, so a dev tool bump like #142 waited forever for checks that never started. Both now run on .tools/** changes, like lint and depscheck already do.

Also bumps mvdan.cc/gofumpt from 0.11.0 to 0.12.0 in .tools, replacing #142. It wants no formatting changes to the code.
@katbyte
katbyte merged commit 28f5b12 into main Oct 20, 2026
11 checks passed
@katbyte
katbyte deleted the kt/tools-required-checks branch October 20, 2026 18:10
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.

1 participant