diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 1b615b4d0..f18fdab4a 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -5,6 +5,7 @@ on: branches: [ "**" ] push: branches: [ "master" ] + workflow_dispatch: jobs: whitespace: @@ -18,7 +19,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Trailing whitespace check if: matrix.os != 'windows-latest' @@ -36,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["8.10.7", "9.2.7", "9.6.4", "9.8.1"] + ghc: ["8.10.7", "9.2.8", "9.6.4", "9.8.2"] os: [ubuntu-latest, macos-latest, windows-latest] env: @@ -56,7 +57,7 @@ jobs: with: use-sodium-vrf: false # default is true - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cabal update run: cabal update @@ -124,10 +125,10 @@ jobs: - name: Build strict-checked-vars with invariants run: cabal build -f+checktvarinvariants -f+checkmvarinvariants strict-checked-vars - - name: Save Artifact - uses: actions/upload-artifact@v3 + - name: Save logs + uses: actions/upload-artifact@v4 with: - name: Build & test logs + name: ${{ runner.os }}-${{ matrix.ghc }} Build & test logs path: | dist-newstyle/**/*.log @@ -147,7 +148,7 @@ jobs: # # - name: Setup tmate session # if: ${{ failure() }} - # uses: mxschmitt/action-tmate@v3 + # uses: mxschmitt/action-tmate@v4 # with: # limit-access-to-actor: true