Skip to content

Commit

Permalink
Merge pull request #23 from kokobd/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
kokobd authored Oct 26, 2024
2 parents cf7f40e + 7756181 commit b098e3e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on:
push: {}
push:
branches:
- main
pull_request: {}
workflow_dispatch : {}
jobs:
Expand All @@ -13,25 +15,23 @@ jobs:
ghc:
- "9.2.8"
- "9.4.8"
- "9.6.4"
- "9.6.6"
- "9.8.2"
- "9.10.1"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Install Tools
env:
GHCUP_CURL_OPTS: "--suppress-connect-headers"
run: |
ghcup upgrade
ghcup list
ghcup rm ghc ${{ matrix.ghc }} || true
ghcup install ghc ${{ matrix.ghc }} --set
ghcup install cabal 3.10.2.1 --set
cabal update
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.12.1.0"
- name: Build
run: |
cabal update
cabal build all --enable-tests
- name: Run Tests
run: cabal test --test-show-details=always all
Expand Down

0 comments on commit b098e3e

Please sign in to comment.