Skip to content
Snippets Groups Projects
Commit dc91c94e authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Ditch haskell setup action

parent b7a5c227
No related branches found
No related tags found
No related merge requests found
...@@ -16,26 +16,28 @@ jobs: ...@@ -16,26 +16,28 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
os: [ubuntu-22.04, macOS-latest] os: [ubuntu-22.04, macOS-latest]
ghc: ['9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2'] ghc: ['9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install prerequisites for GHC 8.2 on ubuntu-22.04 - name: Install prerequisites for GHC 8.2 on ubuntu-22.04
if: runner.os == 'Linux' && matrix.ghc == '8.2' if: runner.os == 'Linux' && matrix.ghc == '8.2'
run: | run: |
sudo apt-get install libncurses5 libtinfo5 sudo apt-get install libncurses5 libtinfo5
- uses: haskell/actions/setup@v2 - name: Setup toolchain
id: setup-haskell-cabal run: |
with: which ghcup
ghc-version: ${{ matrix.ghc }} ghcup install cabal recommended
ghcup install ghc --set ${{ matrix.ghc }}
- uses: actions/cache@v3 - uses: actions/cache@v3
name: Cache cabal stuff name: Cache cabal stuff
with: with:
path: | path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }} ~/.cabal/store
dist-newstyle dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }} key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Build - name: Build
run: | run: |
ghc --version
cabal --version cabal --version
cabal update cabal update
autoreconf --version autoreconf --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment