Tom Hubrecht
6ab3e4b685
All checks were successful
Check workflows / check_workflows (push) Successful in 36s
Build all the nodes / geo01 (push) Successful in 1m35s
Build all the nodes / bridge01 (push) Successful in 1m37s
Build all the nodes / geo02 (push) Successful in 1m36s
Build all the nodes / compute01 (push) Successful in 1m58s
Build all the nodes / rescue01 (push) Successful in 1m26s
Build all the nodes / storage01 (push) Successful in 1m19s
Build all the nodes / vault01 (push) Successful in 1m26s
Build all the nodes / web02 (push) Successful in 1m12s
Run pre-commit on all files / check (push) Successful in 23s
Build all the nodes / web01 (push) Successful in 1m45s
Build all the nodes / web03 (push) Successful in 1m9s
20 lines
421 B
Nix
20 lines
421 B
Nix
{
|
|
name = "Check workflows";
|
|
on = {
|
|
pull_request.branches = [ "main" ];
|
|
push.paths = [ "workflows/*" ];
|
|
};
|
|
|
|
jobs = {
|
|
check_workflows = {
|
|
runs-on = "nix";
|
|
steps = [
|
|
{ uses = "actions/checkout@v3"; }
|
|
{
|
|
name = "Check that the workflows are up to date";
|
|
run = "nix-shell --run '[ $(git status --porcelain | wc -l) -eq 0 ]'";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|