GHC 9.8, 9.10, 9.12 support for Win32-network-0.1 #119
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Haskell CI | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ghc: ["9.6", "9.8", "9.10", "9.12"] | |
| cabal: ["3.14.2.0"] | |
| os: [windows-latest, ubuntu-latest] | |
| steps: | |
| - name: Install Haskell | |
| uses: input-output-hk/setup-haskell@v1 | |
| id: setup-haskell | |
| with: | |
| ghc-version: ${{ matrix.ghc }} | |
| cabal-version: ${{ matrix.cabal }} | |
| - name: Set cache version | |
| run: echo "CACHE_VERSION=9w76Z3Q" >> $GITHUB_ENV | |
| - uses: actions/checkout@v3 | |
| - name: Cache cabal store | |
| uses: actions/cache@v3 | |
| with: | |
| path: ${{ steps.setup-haskell.outputs.cabal-store }} | |
| key: cabal-store-${{ env.CACHE_VERSION }}-${{ matrix.ghc }}-${{ matrix.os }} | |
| - name: Update Hackage index | |
| run: cabal update | |
| - name: Cabal Configure | |
| run: mv cabal.project.ci cabal.project.local | |
| - name: Build dependencies | |
| run: cabal build --only-dependencies all | |
| - name: Build projects [build] | |
| run: cabal build all | |
| - name: Win32-network [test] | |
| run: cabal test all |