From 498aedacd466f2c63bb3a683969050fb758fe074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 8 Jun 2024 22:28:27 +0200 Subject: [PATCH] [feat] ci: add forgejo actions --- .forgejo/workflows/check.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .forgejo/workflows/check.yml diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml new file mode 100644 index 0000000..259971b --- /dev/null +++ b/.forgejo/workflows/check.yml @@ -0,0 +1,20 @@ +on: [push] +jobs: + check: + runs-on: nixos + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - run: nix --version + - run: nix flake update systems + - run: nix flake check --keep-going + build: + runs-on: nixos + strategy: + matrix: + machine: + - vm + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - run: nix --version + - run: nix flake update systems + - run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'