Repository navigation
Add a minimal GitHub Actions CI workflow - #1
Merged
Merged
Conversation
Runs fmt, clippy, and the test suite on push to main and on pull requests, mirroring the pre-commit hooks so local and CI checks cannot drift. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
dcherian
force-pushed
the
ci/github-actions
branch
from
August 14, 2026 19:52
5c79952 to
1a7078f
Compare
An empty permissions block leaves GITHUB_TOKEN without contents: read, which fails the clone on a private repo. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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: a singletestjob onubuntu-latestrunningcargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo test --all-featuresThis mirrors the
cargo-fmt/cargo-clippypre-commit hooks so local and CI checks can't drift.Notes:
permissions: {},persist-credentials: false, and the checkout action pinned to a SHA — needed to pass the repo's own zizmor hook.prek run --all-filespasses (zizmor, fmt, clippy).rustup component add rustfmt clippy) rather than a toolchain action, since there's norust-toolchain.tomlto honor. Happy to pin a toolchain or add an MSRV job if wanted.🤖 Generated with Claude Code