From da35663c93092355851c42ab42aa78d48ad95d66 Mon Sep 17 00:00:00 2001 From: Daniel Rolls Date: Sat, 26 Oct 2024 21:28:31 +0100 Subject: [PATCH] Run tests via cabal --- .github/workflows/cabaltest.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/cabaltest.yml diff --git a/.github/workflows/cabaltest.yml b/.github/workflows/cabaltest.yml new file mode 100644 index 0000000..5a0f0d5 --- /dev/null +++ b/.github/workflows/cabaltest.yml @@ -0,0 +1,14 @@ +name: "Cabal test" +on: + pull_request: + push: +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + with: + nix_path: nixpkgs=channel:nixos-unstable + - run: nix develop + - run: cabal v2-test