From f85f24bed63ee7001e7b7a3f370a0221db6db52e Mon Sep 17 00:00:00 2001 From: Arthur Jamet Date: Thu, 20 Jul 2023 09:54:00 +0100 Subject: [PATCH] Actions: Setup GHC's version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bbfb94..715f6f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - uses: ./.github/actions/install-stack - uses: ./.github/actions/cache - name: Compile Project - run: stack build + run: stack --compile ghc-${{ matrix.ghc-version }} build # This is to check if the project has been compiled with the correct version of ghc-lib. # For example, if there is a mismatch, we would get something like "Unknown Constructor: Char" - name: Check Basic Suggestion