2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-11-11 17:52:23 +01:00
|
|
|
{
|
|
|
|
name = "Check meta";
|
|
|
|
on = {
|
|
|
|
pull_request.branches = [ "main" ];
|
|
|
|
push.paths = [ "meta/*" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
jobs = {
|
|
|
|
check_meta = {
|
|
|
|
runs-on = "nix";
|
|
|
|
steps = [
|
|
|
|
{ uses = "actions/checkout@v3"; }
|
|
|
|
{
|
|
|
|
name = "Check the validity of meta options";
|
|
|
|
run = "nix-build meta/verify.nix -A meta";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
check_dns = {
|
|
|
|
runs-on = "nix";
|
|
|
|
steps = [
|
|
|
|
{ uses = "actions/checkout@v3"; }
|
|
|
|
{
|
|
|
|
name = "Check the validity of the DNS configuration";
|
2024-11-14 22:18:40 +01:00
|
|
|
run = "nix-build meta/verify.nix -A dns";
|
2024-11-11 17:52:23 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|