Fixes CI issues (#997)

* Adds a workaround for GHCup CI issue

* Fix Node.js to 18.12 to use the right npm version
This commit is contained in:
Mihovil Ilakovac 2023-02-09 12:46:58 +01:00 committed by GitHub
parent 6b887d6f24
commit a7f499f71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,11 @@ jobs:
- name: Checkout the repo - name: Checkout the repo
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Workaround runner image issue
if: matrix.os == 'ubuntu-20.04'
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
- name: Set up Haskell - name: Set up Haskell
id: setup-haskell-cabal id: setup-haskell-cabal
uses: haskell/actions/setup@v2 uses: haskell/actions/setup@v2