From 32ec7d9ec3b2ba733d287a8cabd5e0fcd4908fd3 Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 01:51:08 +0000 Subject: [PATCH 1/6] [CI] Automatically use most-recent point releases of GHC. --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5a7a84..ea08904 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,11 @@ jobs: cabal: - 3.8.1.0 ghc: - - 8.10.7 - - 9.0.2 - - 9.2.7 - - 9.4.5 - - 9.6.1 + - 8.10 + - 9.0 + - 9.2 + - 9.4 + - 9.6 steps: - name: Checkout uses: actions/checkout@v3 @@ -107,7 +107,7 @@ jobs: if: | github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' - && matrix.ghc == '9.6.1' + && matrix.ghc == '9.6' run: > mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages @@ -117,7 +117,7 @@ jobs: if: | github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' - && matrix.ghc == '9.6.1' + && matrix.ghc == '9.6' uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages From d3dab2fd56f4f4d38a4cb8c9db831af1de6141de Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 02:06:01 +0000 Subject: [PATCH 2/6] [CI] Use quotations for GHC versions. This appears to be the recommended way to specify GHC versions according to: https://github.com/haskell-actions/setup --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea08904..5921ab9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,11 @@ jobs: cabal: - 3.8.1.0 ghc: - - 8.10 - - 9.0 - - 9.2 - - 9.4 - - 9.6 + - '8.10' + - '9.0' + - '9.2' + - '9.4' + - '9.6' steps: - name: Checkout uses: actions/checkout@v3 From ee0af38426211ba1d63a014e1f6fbe2c920fbcb0 Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 01:59:05 +0000 Subject: [PATCH 3/6] [CI] Upgrade to version `3.10.2.0` of `cabal`. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5921ab9..b8a45ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - macOS-latest - windows-latest cabal: - - 3.8.1.0 + - 3.10.2.0 ghc: - '8.10' - '9.0' From be2f72d9806d78717586a0c7e3ae0fe0f32debaa Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 01:59:38 +0000 Subject: [PATCH 4/6] [CI] Upgrade to `actions/checkout@v4`. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8a45ee..de43f07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - '9.6' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Environment uses: haskell/actions/setup@v2 From 376fb346b3caaef529cb682b7093de5f4cc1faf8 Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 02:00:02 +0000 Subject: [PATCH 5/6] [CI] Upgrade to `haskell-actions/setup@v2`. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de43f07..4a0f7db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v4 - name: Environment - uses: haskell/actions/setup@v2 + uses: haskell-actions/setup@v2 id: setup-haskell-cabal with: ghc-version: ${{ matrix.ghc }} From 22264a3ba47526accd1f1c6651c963d950a3f41c Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 22 Feb 2024 02:00:22 +0000 Subject: [PATCH 6/6] [CI] Upgrade to `actions/cache@v4`. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a0f7db..64d226d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: --builddir=${{ env.cabal-build-dir }} - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: hash: ${{ hashFiles('cabal.project.freeze') }} with: