Skip to content

Use haskell-actions/run-ormolu #8

Use haskell-actions/run-ormolu

Use haskell-actions/run-ormolu #8

Workflow file for this run

on: [push]
name: test
jobs:
test:
name: Run test on GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["latest"]
cabal: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal test --test-show-details=direct
build:
name: Build on GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["latest"]
cabal: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal build
format:
name: Format on GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["latest"]
cabal: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- uses: haskell-actions/run-ormolu@v15