From d2205abfeb9a616cba4b5faf80551a99842fb72a Mon Sep 17 00:00:00 2001 From: Laurence Warne Date: Thu, 25 Aug 2022 12:06:46 +0100 Subject: [PATCH] Add ci --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f3a4ac7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +on: [push] +name: build +jobs: + + runhaskell: + name: Build Executable + runs-on: ubuntu-latest # or macOS-latest, or windows-latest + steps: + - uses: actions/checkout@v3 + - uses: haskell/actions/setup@v2 + with: + ghc-version: '8.8.4' # Exact version of ghc to use + # cabal-version: 'latest'. Omitted, but defaults to 'latest' + enable-stack: true + stack-version: 'latest' + - run: stack build