Skip to content

Commit

Permalink
Merge pull request #473 from IntersectMBO/angerman-patch-5
Browse files Browse the repository at this point in the history
Update haskell workflow
  • Loading branch information
lehins authored Apr 17, 2024
2 parents 4e1d652 + b45c1e2 commit 02f4a07
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "**" ]
push:
branches: [ "master" ]
workflow_dispatch:

jobs:
whitespace:
Expand All @@ -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'
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 02f4a07

Please sign in to comment.