infrastructure/workflows/check-workflows.nix
catvayor c705ba8176
All checks were successful
Check meta / check_meta (pull_request) Successful in 24s
Build all the nodes / netcore01 (pull_request) Successful in 29s
Build all the nodes / netaccess01 (pull_request) Successful in 30s
Check meta / check_dns (pull_request) Successful in 36s
Build all the nodes / netcore02 (pull_request) Successful in 39s
Build all the nodes / ap01 (pull_request) Successful in 45s
Check workflows / check_workflows (pull_request) Successful in 56s
Run pre-commit on all files / pre-commit (pull_request) Successful in 32s
Build the shell / build-shell (pull_request) Successful in 50s
Build all the nodes / build01 (pull_request) Successful in 1m40s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m46s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m46s
Build all the nodes / bridge01 (pull_request) Successful in 1m50s
Build all the nodes / geo01 (pull_request) Successful in 1m55s
Build all the nodes / storage01 (pull_request) Successful in 1m54s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m58s
Build all the nodes / geo02 (pull_request) Successful in 2m7s
Build all the nodes / rescue01 (pull_request) Successful in 2m6s
Build all the nodes / tower01 (pull_request) Successful in 1m57s
Build all the nodes / web02 (pull_request) Successful in 1m54s
Build all the nodes / web03 (pull_request) Successful in 1m55s
Build all the nodes / compute01 (pull_request) Successful in 2m27s
Build all the nodes / vault01 (pull_request) Successful in 2m22s
Build all the nodes / web01 (pull_request) Successful in 2m26s
Check workflows / check_workflows (push) Successful in 29s
Build all the nodes / netaccess01 (push) Successful in 30s
Build all the nodes / ap01 (push) Successful in 1m15s
Build all the nodes / netcore02 (push) Successful in 36s
Build all the nodes / netcore01 (push) Successful in 51s
Build the shell / build-shell (push) Successful in 34s
Build all the nodes / bridge01 (push) Successful in 1m55s
Build all the nodes / geo01 (push) Successful in 1m56s
Run pre-commit on all files / pre-commit (push) Successful in 49s
Build all the nodes / geo02 (push) Successful in 2m16s
Build all the nodes / hypervisor03 (push) Successful in 2m3s
Build all the nodes / build01 (push) Successful in 2m26s
Build all the nodes / hypervisor01 (push) Successful in 2m9s
Build all the nodes / compute01 (push) Successful in 2m33s
Build all the nodes / hypervisor02 (push) Successful in 2m19s
Build all the nodes / tower01 (push) Successful in 2m12s
Build all the nodes / rescue01 (push) Successful in 2m16s
Build all the nodes / vault01 (push) Successful in 2m7s
Build all the nodes / web03 (push) Successful in 2m4s
Build all the nodes / storage01 (push) Successful in 2m25s
Build all the nodes / web02 (push) Successful in 2m22s
Build all the nodes / web01 (push) Successful in 2m40s
fix(nix-actions): now steps are under lib
2025-03-09 21:39:35 +01:00

29 lines
637 B
Nix

# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ nix-actions, ... }:
{
name = "Check workflows";
on = {
pull_request.branches = [ "main" ];
push.paths = [ "workflows/*" ];
};
jobs = {
check_workflows = {
runs-on = "nix";
steps = [
(nix-actions.lib.steps.checkout { })
{
name = "Check that the workflows are up to date";
run = nix-actions.lib.nix-shell {
script = "[ $(git status --porcelain | wc -l) -eq 0 ]";
shell = "check-workflows";
};
}
];
};
};
}