diff --git a/.ci/gen-workflow-files.nu b/.ci/gen-workflow-files.nu index 8c1ea61..f1eaeec 100755 --- a/.ci/gen-workflow-files.nu +++ b/.ci/gen-workflow-files.nu @@ -1,6 +1,6 @@ #!/usr/bin/env nu -use log * +use std log # cd to git root cd (git rev-parse --show-toplevel) @@ -116,6 +116,7 @@ for system in ($targets | columns) { } } | filter {|it| $it.needed} | each {|it| job-id $system $it.name} + | sort ) mut new_job = { @@ -197,4 +198,4 @@ $cachix_workflow | to yaml | save --force .github/workflows/nix.yaml $release_workflow | to yaml | save --force .github/workflows/release.yaml log info "prettify generated yaml" -prettier -w .github/workflows/ \ No newline at end of file +prettier -w .github/workflows/ diff --git a/flake.nix b/flake.nix index b4edc9a..b7fc705 100644 --- a/flake.nix +++ b/flake.nix @@ -319,6 +319,7 @@ cargo-release clippy nodePackages.prettier + nushell # for the .ci/gen-workflow-files.nu script rustfmt packages.proverif-patched ];