Skip to content

Commit

Permalink
Touch up CI, broken by github installing 9.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed Nov 4, 2021
1 parent 65a51c8 commit 475222d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v2
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json
Expand All @@ -43,6 +44,7 @@ jobs:
# We use linux dependencies
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/quick-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
with:
path: ~/.cabal/store
key: linux-store-meta
- name: ghcup
run: |
ghcup config set cache true
ghcup install ghc recommended
ghcup set ghc recommended
- name: Update Hackage index
run: cabal v2-update
- name: Install alex
Expand Down Expand Up @@ -62,6 +67,11 @@ jobs:
with:
path: ~/.cabal/store
key: linux-store-doctest
- name: ghcup
run: |
ghcup config set cache true
ghcup install ghc recommended
ghcup set ghc recommended
- name: Update Hackage index
run: cabal v2-update
- name: Install doctest
Expand Down
2 changes: 2 additions & 0 deletions templates/ci-bootstrap.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v2
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json
Expand All @@ -43,6 +44,7 @@ jobs:
# We use linux dependencies
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json
Expand Down
10 changes: 10 additions & 0 deletions templates/ci-quick-jobs.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
with:
path: ~/.cabal/store
key: linux-store-meta
- name: ghcup
run: |
ghcup config set cache true
ghcup install ghc recommended
ghcup set ghc recommended
- name: Update Hackage index
run: cabal v2-update
- name: Install alex
Expand Down Expand Up @@ -62,6 +67,11 @@ jobs:
with:
path: ~/.cabal/store
key: linux-store-doctest
- name: ghcup
run: |
ghcup config set cache true
ghcup install ghc recommended
ghcup set ghc recommended
- name: Update Hackage index
run: cabal v2-update
- name: Install doctest
Expand Down

0 comments on commit 475222d

Please sign in to comment.