Simplify creation of root consumer spans (#25) #33
This file contains 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: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.3'] | |
cabal: ['latest'] | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
name: Haskell GHC ${{ matrix.ghc }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Haskell | |
uses: haskell/actions/setup@v2 | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
cabal-version: ${{ matrix.cabal }} | |
- name: Install dependencies | |
run: | | |
cabal update | |
cabal build --only-dependencies --enable-tests | |
- name: Build | |
run: | | |
cabal configure --enable-tests | |
cabal build | |
- name: Run tests | |
run: cabal test |