From 4420930f6b42adde22eb096660a31262bcaed4c2 Mon Sep 17 00:00:00 2001 From: Magnus Therning Date: Wed, 2 Aug 2023 14:19:41 +0200 Subject: [PATCH] Add GitHub Action CI --- .github/workflows/run-test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/run-test.yml diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml new file mode 100644 index 0000000..1ffe802 --- /dev/null +++ b/.github/workflows/run-test.yml @@ -0,0 +1,11 @@ +name: "Run tests" +on: push +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v22 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: NIX_BUILD_SHELL=y nix develop --impure -c cabal test all