From bebac17fb5f0503ef34551e36ff8c25ae1397d95 Mon Sep 17 00:00:00 2001 From: James Leslie Date: Sun, 15 Oct 2023 20:59:16 +0100 Subject: [PATCH] Add GitHub Action to test if package builds --- .github/workflows/test_build.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test_build.yaml diff --git a/.github/workflows/test_build.yaml b/.github/workflows/test_build.yaml new file mode 100644 index 0000000..d745abb --- /dev/null +++ b/.github/workflows/test_build.yaml @@ -0,0 +1,22 @@ +name: Test to see if packages builds with nix +run-name: Test to see if package builds with nix +on: + push + +jobs: + Update-JSON-Data: + runs-on: ubuntu-latest + steps: + - name: Setting up Checkout + uses: actions/checkout@v3 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Set up Nix + uses: cachix/install-nix-action@v18 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Try to build package + run: | + nix build