From 2b2b2d712b6eea8ef61e85e54ad5bde64db32f3c Mon Sep 17 00:00:00 2001 From: AgentM Date: Sun, 26 May 2024 18:01:27 -0400 Subject: [PATCH] add haskell-actions github CI setup step --- .github/workflows/ci.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 117b8b56..cbf67f14 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,7 +43,7 @@ jobs: env: STACK_YAML: stack.${{ matrix.ghc }}.yaml steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache uses: actions/cache@v3 with: @@ -56,6 +56,12 @@ jobs: run: rm -rf ~/.stack/setup-exe-cache # - name: HLint # run: curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s . + - name: Setup Stack + uses: haskell-actions/setup@v2 + with: + enable-stack: true + ghc-version: ${{ matrix.ghc }} + cabal-version: 3.10.2.1 - name: Build run: stack build --ghc-options -O2 --local-bin-path out --copy-bins - name: Test