Skip to content

Commit 12275e7

Browse files
committed
Fix quick jobs
1 parent ce6fb97 commit 12275e7

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/quick-jobs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ jobs:
2424
runs-on: ubuntu-18.04
2525
# This job is not run in a container, any recent GHC should be fine
2626
steps:
27-
- name: Set PATH
28-
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
27+
- name: Install GHC
2928
run: |
3029
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
31-
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
32-
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
30+
ghcup install ghc --set 8.10.4
3331
- uses: actions/cache@v1
3432
with:
3533
path: ~/.cabal/store

boot/ci-quick-jobs.template.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ jobs:
2424
runs-on: ubuntu-18.04
2525
# This job is not run in a container, any recent GHC should be fine
2626
steps:
27-
- name: Set PATH
28-
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
27+
- name: Install GHC
2928
run: |
3029
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
31-
echo "/opt/cabal/3.2/bin" >> $GITHUB_PATH
32-
echo "/opt/ghc/8.10.4/bin" >> $GITHUB_PATH
30+
ghcup install ghc --set 8.10.4
3331
- uses: actions/cache@v1
3432
with:
3533
path: ~/.cabal/store

0 commit comments

Comments
 (0)