From 4fded17069aec24c5a3ea46df55f303a052dc715 Mon Sep 17 00:00:00 2001 From: jtntee Date: Sat, 20 Jul 2024 17:23:52 +0200 Subject: [PATCH] test runner #1 --- .github/workflows/nix.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/nix.yml diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 00000000..63893499 --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,25 @@ +name: Nix +on: + push: + branches: + - main + pull_request: +jobs: + build: + strategy: + matrix: + os: + - ubuntu-22.04 + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v16 + # TODO: add a binary cache + # - uses: cachix/cachix-action@v10 + # with: + # name: YOURCACHE + # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - run: nix flake check + # Pre-build the system configuration + - run: nix build .#nixosConfigurations.vm-intel +