tvl-depot/ci/pipelines/briefcase.nix

15 lines
373 B
Nix
Raw Normal View History

{ 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)