From 4ddb727216cfb37510c3be389346ac06b05fc3be Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sun, 3 Dec 2023 20:32:38 -0800 Subject: [PATCH] ci(github): add build to validate changes --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d8d7907 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: 'build' + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - run: ssh-keygen -t rsa -N '' -f ./id_rsa && git add id_rsa.pub + - run: nix build .#nixosConfigurations.nixos