diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5a7a84..64d226d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,19 +25,19 @@ jobs: - macOS-latest - windows-latest cabal: - - 3.8.1.0 + - 3.10.2.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 + 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 }} @@ -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: @@ -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