CI: update ormolu workflow

This commit is contained in:
Richard Marko 2023-10-31 08:44:58 +01:00
parent 63209c25d6
commit 8a94b2ac20
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
# FUTUREWORK: add this to `ci.dhall`? # FUTUREWORK: add this to `ci.dhall`?
# TODO(srk): ^^
name: Ormolu name: Ormolu
on: on:
@ -6,18 +7,18 @@ on:
jobs: jobs:
ormolu: ormolu:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- uses: "actions/checkout@v1" - uses: "actions/checkout@v3"
- uses: "actions/setup-haskell@v1.1.4" - uses: "haskell-actions/setup@v2"
id: setup-haskell-cabal id: setup-haskell-cabal
with: with:
cabal-version: "${{ matrix.cabal }}" cabal-version: "${{ matrix.cabal }}"
enable-stack: false enable-stack: false
ghc-version: "${{ matrix.ghc }}" ghc-version: "${{ matrix.ghc }}"
- uses: "actions/cache@v2" - uses: "actions/cache@v3"
name: Cache name: Cache
with: with:
key: "${{ runner.os }}" key: "${{ runner.os }}"
@ -46,6 +47,6 @@ jobs:
strategy: strategy:
matrix: matrix:
cabal: cabal:
- '3.2' - '3.10'
ghc: ghc:
- '8.10.1' - '9.4.7'

View File

@ -1 +1 @@
0.1.4.1 0.7.3.0