Skip to content

CI: add cargo fmt check after clippy#152

Merged
samcday merged 2 commits intomainfrom
opencode/issue151-20260130201208
Feb 3, 2026
Merged

CI: add cargo fmt check after clippy#152
samcday merged 2 commits intomainfrom
opencode/issue151-20260130201208

Conversation

@opencode-agent
Copy link
Contributor

Added a formatting lint check directly after the existing clippy step in the main build workflow so CI fails when cargo fmt isn’t clean.

  • Updated .github/workflows/build.yml to run cargo fmt --all --check immediately after the clippy step.

If you want the same check in other workflows (like alpine.yml), tell me which ones.

Closes #151

New%20session%20-%202026-01-30T20%3A12%3A07.502Z
opencode session  |  github run

Co-authored-by: samcday <samcday@users.noreply.github.com>
@opencode-agent opencode-agent bot mentioned this pull request Jan 30, 2026
@samcday samcday added the ci-ok PR looks safe / author is trusted, run pull_request_target build workflow label Feb 2, 2026
@samcday samcday merged commit 0fc9223 into main Feb 3, 2026
6 of 8 checks passed
@samcday samcday deleted the opencode/issue151-20260130201208 branch February 3, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-ok PR looks safe / author is trusted, run pull_request_target build workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforce cargo fmt in CI

1 participant