ci: add Woodpecker checks, Cachix config and conventional commit hooks
This commit is contained in:
1 parent
e0169bf9f2
commit
b7e30ec148
5 files changed
+181
-2
No files matched your search
@@ -10,6 +10,7 @@ let
|
||||
fileset = lib.fileset.unions [
|
||||
(craneLib.fileset.commonCargoSources ./.)
|
||||
./system-files
|
||||
./.rustfmt.toml
|
||||
];
|
||||
};
|
||||
strictDeps = true;
|
||||
@@ -23,6 +24,19 @@ let
|
||||
args: craneLib.buildPackage (commonArgs // { inherit cargoArtifacts; } // args);
|
||||
in
|
||||
{
|
||||
rustfmt-formatting = craneLib.cargoFmt {
|
||||
inherit (commonArgs) src;
|
||||
cargoExtraArgs = "--all";
|
||||
};
|
||||
|
||||
clippy-lints = craneLib.cargoClippy (
|
||||
commonArgs
|
||||
// {
|
||||
inherit cargoArtifacts;
|
||||
cargoClippyExtraArgs = "--workspace --all-targets -- --deny warnings";
|
||||
}
|
||||
);
|
||||
|
||||
bootvine = buildWorkspaceMember {
|
||||
cargoExtraArgs = "-p bootvine";
|
||||
postInstall = ''
|
||||
|
||||
Reference in new issue
Block a user