feat(domains): mapping variants of allOrderings function #856
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: Domains CI | |
| on: | |
| push: | |
| branches: [ "main", "2cabal" ] | |
| pull_request: | |
| branches: [ "main", "2cabal" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: haskell-actions/setup@v2 | |
| with: | |
| ghc-version: '9.6.7' | |
| cabal-version: '3.10' | |
| ghcup-release-channel: 'https://raw.githubusercontent.com/haskell/ghcup-metadata/develop/ghcup-0.0.8.yaml' | |
| - name: Cache | |
| uses: actions/cache@v3 | |
| env: | |
| cache-name: cache-cabal | |
| with: | |
| path: ~/.cabal | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}- | |
| ${{ runner.os }}-build- | |
| ${{ runner.os }}- | |
| - name: Install dependencies | |
| working-directory: maf2-domains | |
| run: cabal update && cabal install --overwrite-policy=always hspec-discover | |
| - name: Build | |
| working-directory: maf2-domains | |
| run: cabal build | |
| - name: Run tests | |
| working-directory: maf2-domains | |
| run: cabal test --test-show-details=always --test-options="--color" |