Skip to content

Commit

Permalink
ci: Fix failing installation of GHC
Browse files Browse the repository at this point in the history
Since actions/runner-images#3268, the GHC PPA is no longer
enabled by default. :-(

(It would be better to use the haskell/actions/setup action, but it
insists on doing `cabal update` even if all we need is to install GHC
and Stack, which adds noticeable delay:
haskell/actions#29)
  • Loading branch information
liskin committed May 14, 2021
1 parent 801c4de commit 33e5606
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Clone project
uses: actions/checkout@v2

- name: Prepare apt sources
run: |
set -ex
sudo add-apt-repository -y ppa:hvr/ghc
sudo apt update -y
- name: Install C dependencies
run: |
set -ex
Expand Down

0 comments on commit 33e5606

Please sign in to comment.