Skip to content

deps: allow to compile with ghc 9.6 #116

deps: allow to compile with ghc 9.6

deps: allow to compile with ghc 9.6 #116

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
jobs:
cabal:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ["8.6.5", "8.8.4", "8.10.7", "9.0.2"]
cabal: ["3.6.2.0"]
os: [ubuntu-latest, macOS-latest]
name: build and test (cabal)
steps:
- uses: actions/checkout@v2
- name: Run Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
id: setup-haskell
- uses: actions/cache@v3
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-v2-${{ matrix.ghc }}-${{ github.run_id }}
restore-keys: ${{ runner.os }}-v2-${{ matrix.ghc }}-
- run: |
cabal build all -fexamples
stack:
name: build and test (stack)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: "9.0.2"
enable-stack: true
stack-version: "latest"
- run: |
stack build --flag telegram-bot-simple:examples