Skip to content

Commit

Permalink
Fix broken build due to happy-1.21.0
Browse files Browse the repository at this point in the history
haskell/happy#211

[changelog skip]
  • Loading branch information
dahlia committed Nov 17, 2021
1 parent aa44d24 commit 6d487b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
resolver:
- lts-16.31
- lts-18.16
- nightly-2021-11-06
- nightly-2021-11-15
steps:
- uses: actions/checkout@v2
- uses: dahlia/actions/setup-yq@main
Expand Down Expand Up @@ -48,6 +48,8 @@ jobs:
.resolver | test("^nightly-")
)
| .flags.seonbi.iconv = (strenv(OS) | test("^windows-") | not)
| .flags.happy.bootstrap = (.resolver | test("^nightly-"))
| del(.flags.happy | select(.bootstrap | not))
' stack.yaml
env:
RESOLVER: ${{ matrix.resolver }}
Expand All @@ -72,9 +74,9 @@ jobs:
[[ "$tag_ver" = "$pkg_ver" ]]
! grep -i "to be released" CHANGES.md
- name: Resolve dependencies
run: stack install --only-dependencies
run: stack install --test --only-dependencies
- name: Build
run: stack build
run: stack build --test
- name: Test
run: stack test
- name: Package source distribution
Expand Down

0 comments on commit 6d487b1

Please sign in to comment.