Skip to content

Add CI for tests, clippy, and Rust/Rue formatting - #5

Merged
Rigidity merged 1 commit into
mainfrom
add-ci
Oct 27, 2026
Merged

Rigidity merged 1 commit into
mainfrom
add-ci

Conversation

@Rigidity

@Rigidity Rigidity commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Adds a GitHub Actions workflow with four jobs:

  • Test: cargo test --all-targets
  • Clippy: cargo clippy --all-targets -- -D warnings
  • Rust Format: cargo fmt --all --check
  • Rue Format & Build: installs rue-cli at the version in Rue.toml, runs rue fmt --check, then rebuilds the puzzles with rue build -a -s -x -h and fails if anything under puzzles/ changes (including untracked files)

Also updates the README's Development section to reflect that CI now performs the compiled-puzzle check.


Note

Low Risk
Adds CI and documentation only; no runtime, auth, or on-chain logic changes.

Overview
Adds a GitHub Actions CI workflow that runs on pushes to main and on pull requests, with concurrency cancellation per ref.

Four parallel jobs enforce quality gates: cargo test --all-targets, Clippy with warnings denied (also via RUSTFLAGS), cargo fmt --check, and a Rue job that pins rue-cli to the version in Rue.toml, runs rue fmt --check, rebuilds puzzles with rue build -a -s -x -h, and fails if puzzles/ is dirty afterward.

The README Development section is updated to state that CI already performs the compiled-puzzle freshness check (replacing the previous “CI should run…” wording).

Reviewed by Cursor Bugbot for commit 7495b4a. Bugbot is set up for automated code reviews on this repo. Configure here.

@Rigidity
Rigidity merged commit 7a73731 into main Oct 27, 2026
5 checks 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.

1 participant