Skip to content

Fix cargo fmt violations and modernize CI workflows#43

Merged
JoshCap20 merged 2 commits into
mainfrom
fix/fmt-and-ci
Feb 25, 2026
Merged

Fix cargo fmt violations and modernize CI workflows#43
JoshCap20 merged 2 commits into
mainfrom
fix/fmt-and-ci

Conversation

@JoshCap20
Copy link
Copy Markdown
Owner

Summary

  • Run cargo fmt across the codebase to fix all formatting violations
  • Replace deprecated actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable in test workflow
  • Upgrade actions/cache from v3 to v4
  • Add a test gate (fmt + clippy + tests) to the publish workflow so cargo publish only runs after CI passes

Test plan

  • cargo fmt -- --check passes
  • All 62 tests pass
  • CI runs green on this PR

Closes #8, closes #9

…te to publish

- Replace actions-rs/toolchain@v1 (deprecated, archived) with
  dtolnay/rust-toolchain@stable in test workflow
- Upgrade actions/cache from v3 to v4
- Add test job (fmt, clippy, tests) to publish workflow as a
  prerequisite for cargo publish via `needs: test`

Closes #9
@JoshCap20 JoshCap20 merged commit 752059e into main Feb 25, 2026
1 check passed
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.

Fix deprecated CI action and add test gate to publish workflow Fix cargo fmt violations across codebase

1 participant