Skip to content

Satisfy -Wunused-imports. #2

Satisfy -Wunused-imports.

Satisfy -Wunused-imports. #2

Workflow file for this run

---
name: build
on: push
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
haskell:
strategy:
matrix:
ghc:
- "8.10"
- "8.4.3"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
- name: Install Haskell tooling
uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.6"
- name: Configure project
run: cabal configure --enable-tests
- name: Freeze dependencies
run: cabal freeze
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cabal/package
~/.cabal/store
dist-newstyle
key: ${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: ${{ matrix.ghc }}-
- name: Build
run: cabal build
- name: Run tests
run: cabal test