ci: move CI tasks into Nushell scripts and update dependencies weekly

Replace the shell scripts in flake.nix with Nushell scripts in ci/, exposed
as flake apps in nix/ci-tasks.nix, so every workflow command is a plain nix
call. Build the workspace dependencies in a step of their own, upload to
Cachix only after the builds, and run the formatting check through the
pre-commit hooks.

Automated pushes, tags and pull requests now use the wvhulle-bot account.
A weekly cron updates Cargo.lock and flake.lock and opens or updates one
pull request from bot/dependency-updates.

Claude-Session: https://claude.ai/code/session_01D8dLLgYd8cfR2aQfA5eZXa
This commit is contained in:
Willem Vanhulle committed 2026-11-05 19:59:06 +01:00
1 parent a81cc849b5
commit f9f68b2a68
11 files changed
+519 -173

No files matched your search

+1 -4
View File
@@ -30,10 +30,7 @@ let
args: craneLib.buildPackage (commonArgs // { inherit cargoArtifacts; } // args);
in
{
rustfmt-formatting = craneLib.cargoFmt {
inherit (commonArgs) src pname version;
cargoExtraArgs = "--all";
};
inherit cargoArtifacts;
clippy-lints = craneLib.cargoClippy (
commonArgs