From 4add5be5fa4a0ea9d358529268f984f58e6dc836 Mon Sep 17 00:00:00 2001 From: Mast3r_waf1z <32744171+Mast3rwaf1z@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:31:08 +0100 Subject: [PATCH] added ci (#18) --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..96d7fc7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: NixOS Package Building + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build-stregsystemet: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + + - uses: cachix/install-nix-action@v25 + with: + nix_path: nixpkgs=channel:nixos-23.11 + + - name: build-stregsystemet + run: nix build -f ./pkgs/stregsystemet