From 8a94b2ac2007851fcca796d67e46c7388491ca47 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Tue, 31 Oct 2023 08:44:58 +0100 Subject: [PATCH] CI: update ormolu workflow --- .github/workflows/ormolu.yaml | 13 +++++++------ layout/ormolu.version | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ormolu.yaml b/.github/workflows/ormolu.yaml index f5f1421..a38ea8d 100644 --- a/.github/workflows/ormolu.yaml +++ b/.github/workflows/ormolu.yaml @@ -1,4 +1,5 @@ # FUTUREWORK: add this to `ci.dhall`? +# TODO(srk): ^^ name: Ormolu on: @@ -6,18 +7,18 @@ on: jobs: ormolu: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest 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 with: cabal-version: "${{ matrix.cabal }}" enable-stack: false ghc-version: "${{ matrix.ghc }}" - - uses: "actions/cache@v2" + - uses: "actions/cache@v3" name: Cache with: key: "${{ runner.os }}" @@ -46,6 +47,6 @@ jobs: strategy: matrix: cabal: - - '3.2' + - '3.10' ghc: - - '8.10.1' + - '9.4.7' diff --git a/layout/ormolu.version b/layout/ormolu.version index 473b31b..934346d 100644 --- a/layout/ormolu.version +++ b/layout/ormolu.version @@ -1 +1 @@ -0.1.4.1 +0.7.3.0