From daaa236dd49867311317baf6ac75a68748ed5623 Mon Sep 17 00:00:00 2001
From: jneira <atreyu.bbb@gmail.com>
Date: Mon, 21 Feb 2022 14:37:17 +0100
Subject: [PATCH] Use apt instead haskell action

---
 .github/workflows/linux.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index cee6ee4244..d90e8894e5 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -127,11 +127,11 @@ jobs:
 
       - uses: actions/checkout@v2
 
-      - uses: haskell/actions/setup@v1
-        id: setup-haskell-extra
-        with:
-          ghc-version: ${{ matrix.extra-ghc }}-dyn
-          cabal-version: latest # default, keeping for visibility
+      - name: apt-get update
+        run: apt-get update
+
+      - name: Install extra compiler
+        run: apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
 
       - uses: haskell/actions/setup@v1
         id: setup-haskell
@@ -159,4 +159,4 @@ jobs:
         run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v ${{ matrix.flags }} -s build
 
       - name: "Validate lib-suite-extras --extra-hc ghc-${{ matrix.extra-ghc }}"
-        run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v --lib-only -s lib-suite-extras --extra-hc ghc-${{ matrix.extra-ghc }}
\ No newline at end of file
+        run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v --lib-only -s lib-suite-extras --extra-hc /opt/ghc/${{ matrix.extra-ghc }}/bin/ghc-${{ matrix.extra-ghc }}
\ No newline at end of file
-- 
GitLab