Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Apr 28, 2024
1 parent db58eab commit 63eb574
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,25 @@ jobs:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ['9.6', '9.4', '9.2', '9.0', '8.10', '8.8.4', '8.8.2', '8.8.1', '8.6', '8.4']
exclude:
- os: macos-latest
version: '8.8.4'
- os: macos-latest
version: '8.8.2'
- os: macos-latest
version: '8.8.1'
- os: macos-latest
version: '8.6'
- os: macos-latest
version: '8.4'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: 'latest'
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
Expand Down Expand Up @@ -72,7 +83,7 @@ jobs:
matrix:
arch: ['s390x', 'ppc64le', 'armv7', 'aarch64']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
timeout-minutes: 60
with:
Expand All @@ -97,8 +108,8 @@ jobs:
env:
version: javascript-unknown-ghcjs-9.6.2
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
Expand Down Expand Up @@ -128,8 +139,8 @@ jobs:
env:
version: wasm32-wasi-9.8.0.20230927
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
Expand Down Expand Up @@ -161,14 +172,14 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: 'latest'
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache cabal stuff
with:
path: |
Expand Down

0 comments on commit 63eb574

Please sign in to comment.