Add nightly on CI

LTS-19 and GHC-9.2 is coming. Adding this to ensure we can compile,
which seems to be the case.

We are only disabled in Stackage because hoauth2 is not ready, for which
I've opened: https://github.com/freizl/hoauth2/issues/142
This commit is contained in:
patrick brisbin 2022-03-25 10:55:12 -04:00
parent 77a66fa6e8
commit 502e5df3e6
No known key found for this signature in database
GPG Key ID: C6A68C15A00FB52B
2 changed files with 24 additions and 0 deletions

View File

@ -41,3 +41,16 @@ jobs:
- uses: rwe/actions-hlint-run@v2
with:
fail-on: warning
nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: freckle/stack-cache-action@v2
with:
stack-yaml: stack-nightly.yaml
- uses: freckle/stack-action@v3
with:
stack-yaml: stack-nightly.yaml
stack-arguments: --resolver nightly

11
stack-nightly.yaml Normal file
View File

@ -0,0 +1,11 @@
resolver: 2022-03-25
extra-deps:
- hoauth2-2.3.0
- yesod-auth-1.6.11
- yesod-core-1.6.22.0
- yesod-form-1.7.0
- yesod-persistent-1.6.0.7
# binary-0.8.9.0 and bytestring-0.11.3.0 are too new for hoauth2-2.3.0
allow-newer: true