Skip to content

Commit

Permalink
update nix rustc version and add cargo test to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellerb committed Mar 11, 2023
1 parent 6a42aa5 commit 033998d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
20 changes: 10 additions & 10 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -49,13 +49,17 @@
};

checks."${system}" = {
poser-tests = craneLib.cargoTest {
inherit src cargoArtifacts;
};

poser-clippy = craneLib.cargoClippy {
inherit src cargoArtifacts;

cargoClippyExtraArgs = "--all-targets -- --deny warnings";
};

poserfmt = craneLib.cargoFmt {
poser-fmt = craneLib.cargoFmt {
inherit src;
};
};
Expand Down

0 comments on commit 033998d

Please sign in to comment.