Skip to content

fix gotip formatting check in CI#30

Merged
elithrar merged 1 commit intoadd-agents-mdfrom
fix-ci-tip-formatting
Feb 10, 2026
Merged

fix gotip formatting check in CI#30
elithrar merged 1 commit intoadd-agents-mdfrom
fix-ci-tip-formatting

Conversation

@elithrar
Copy link
Owner

gotip fmt -l . is invalid — go fmt doesn't accept the -l flag, so the step always exits 2. Because continue-on-error: true is set on the test-tip job, the failure is silently swallowed and formatting is never checked for tip.

  • replace gotip fmt -l . with test -z "$(gofmt -l .)", matching the stable job
  • gofmt resolves to the gotip version since line 49 already adds gotip's GOROOT/bin to PATH

gotip fmt -l . is invalid (go fmt doesn't accept -l). The step always
exits 2, silently swallowed by continue-on-error. Use gofmt -l . via
the gotip-provided PATH instead, matching the stable job's approach.
@elithrar elithrar merged commit 34aec57 into add-agents-md Feb 10, 2026
@elithrar elithrar deleted the fix-ci-tip-formatting branch February 10, 2026 15:46
elithrar added a commit that referenced this pull request Feb 10, 2026
* add AGENTS.md, rename default branch to main

* update CI matrix to Go 1.21-1.24 plus tip

* fix gotip formatting check in CI (#30)

gotip fmt -l . is invalid (go fmt doesn't accept -l). The step always
exits 2, silently swallowed by continue-on-error. Use gofmt -l . via
the gotip-provided PATH instead, matching the stable job's approach.
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