Skip to content

Improve CI workflow with rust-cache, clippy flags, and local RUSTFLAGS - #46

Merged
z80020100 merged 1 commit into
mainfrom
improve/ci-workflow
Mar 16, 2026
Merged

z80020100 merged 1 commit into
mainfrom
improve/ci-workflow

Conversation

@z80020100

@z80020100 z80020100 commented Mar 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Swatinem/rust-cache@v2 to all three CI jobs for faster builds
  • Add Update toolchain step to test job for consistency with other jobs
  • Change cargo clippy to cargo clippy --all-targets to lint tests, benches, and examples
  • Move RUSTFLAGS: -Dwarnings from CI env to .cargo/config.toml so warnings are errors everywhere (local dev, CI, pre-commit hook)
  • Fix envsetup.sh invocation from make setup && source to bash

Test plan

  • cargo fmt --all -- --check passes
  • cargo clippy --all-targets passes
  • cargo test passes
  • CI workflow runs successfully on this PR

@z80020100 z80020100 self-assigned this Mar 16, 2026
@z80020100
z80020100 merged commit e98db3b into main Mar 16, 2026
3 checks passed
@z80020100
z80020100 deleted the improve/ci-workflow branch March 16, 2026 08:09
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