Repository navigation
Add CI workflow - #3
Merged
Merged
Conversation
Runs on pushes to main and on pull requests: - cargo fmt --check and clippy with warnings as errors - unit tests on Linux and macOS - build and test on the minimum Rust version, 1.88 (now declared as rust-version in Cargo.toml; 1.87 lacks let chains and slice_as_chunks) - the toy matrix in shadow and active mode, all three flag modes, on Go 1.27.1 README: CI badge, the corrected minimum Rust version, and a note that Go 1.27.2 and 1.27.3 currently get no reuse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AcYXsMTRwCcvgt9sytvXPU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AcYXsMTRwCcvgt9sytvXPU
emoss08
marked this pull request as ready for review
November 5, 2026 14:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/ci.yml, which runs on pushes tomainand on pull requests.cargo fmt --check, thencargo clippy --all-targets --locked -- -D warnings, using the lints already configured inCargo.tomlandclippy.tomlcargo test --locked. Thegocut watchtests are Linux-only throughcfg.cargo test --lockedon Rust 1.88scripts/toy-matrix.shon Go 1.27.1 withMODES="default nl nld"Also in this PR:
rust-version = "1.88"inCargo.toml. I tested this: Rust 1.87 fails to build because it lacks let chains,slice_as_chunks,cast_signedandis_multiple_of. Rust 1.88 builds and passes the tests. The README's previous "Rust 1.85" was wrong.Go 1.27.2 and later get no reuse
While setting up the toy matrix I ran it on three Go patch releases:
dot import of ex/a. No scenario dot-imports anything; the check that fires isrec.roots.all.contains(p)indecide, atsrc/main.rs:431.export data version 5 is not one gocut supports ([4]).Both failures are on the safe side: gocut compiles the package normally, so builds stay correct and only lose speed. CI pins Go 1.27.1 through
GO_VERSION, and the README's Requirements now say so. Fixing gocut for newer releases is outside this PR.Checks run locally
cargo fmt --checkpasses.cargo clippy --all-targetsreports no warnings.cargo testpasses: 26 tests.cargo +1.88 test --lockedpasses.zstd-sysneeds the macOS SDK. This PR's own CI run will be the first test.Generated by Claude Code