Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix flake & CI #3

Merged
merged 11 commits into from
May 7, 2024
Merged

Nix flake & CI #3

merged 11 commits into from
May 7, 2024

Conversation

wsx-antithesis
Copy link
Contributor

@wsx-antithesis wsx-antithesis commented May 3, 2024

Setup Nix flake & CI to test:

  • The project builds with the latest nightly and the stable MSRV (declared in lib/Cargo.toml) Rust compiler.
  • cargo clippy --all-targets -- -D warnings passes.
  • cargo test passes.
  • cargo doc builds.
  • The Rust files are formatted with rustfmt, and Nix files formatted with nixpkgs-fmt.
  • All the above but after cargo update -Z direct-minimal-version, to check the dependency version specification declared in Cargo.toml are all valid.

A development shell is also included in the flake, as well as compatibility layers for the traditional default.nix and shell.nix entry points.

@wsx-antithesis wsx-antithesis marked this pull request as ready for review May 6, 2024 20:48
Copy link
Contributor

@herzogp herzogp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with CI and more extensive clippy coverage

@herzogp herzogp merged commit 4f69e97 into main May 7, 2024
3 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.

2 participants