snix/ci/pipelines/briefcase.nix
William Carroll f53b08e4a0 Call --scan-history
My current pipeline is succeeding with a false-positive. After this change, it
should return a true-negative.
2020-08-21 11:22:52 +01:00

14 lines
373 B
Nix

{ pkgs, ... }:
let
pipeline.steps = [
{
command = "${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)