56e4d9f9b5
Somehow `git-secrets --scan-history` is exiting non-zero, when I don't think it should. Logging some environment information to get a better idea of what's going on.
19 lines
454 B
Nix
19 lines
454 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
pipeline.steps = [
|
|
{
|
|
command = ''
|
|
echo $(pwd)
|
|
git show HEAD
|
|
git log -n 1
|
|
${pkgs.git-secrets}/bin/git-secrets --scan-history
|
|
'';
|
|
label = ":briefcase: Briefcase [lint]";
|
|
}
|
|
{
|
|
command = "nix-build . -I briefcase=$(pwd) --no-out-link --show-trace";
|
|
label = ":briefcase: Briefcase [build]";
|
|
}
|
|
];
|
|
in pkgs.writeText "briefcase.yaml" (builtins.toJSON pipeline)
|