ci: add Woodpecker checks, Cachix config and conventional commit hooks

This commit is contained in:
Willem Vanhulle committed 2026-10-21 12:49:34 +02:00
1 parent e0169bf9f2
commit b7e30ec148
5 files changed
+181 -2

No files matched your search

+14
View File
@@ -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 = ''