mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
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
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
stack-yaml:
|
|
- stack.yaml
|
|
- stack-hoauth2-2.0.yaml
|
|
- stack-hoauth2-2.2.yaml
|
|
- stack-hoauth2-2.3.yaml
|
|
- stack-lts-17.4.yaml
|
|
- stack-lts-16.10.yaml
|
|
- stack-lts-13.2.yaml
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: freckle/stack-cache-action@v2
|
|
with:
|
|
stack-yaml: ${{ matrix.stack-yaml }}
|
|
- uses: freckle/stack-action@v3
|
|
with:
|
|
stack-yaml: ${{ matrix.stack-yaml }}
|
|
stack-arguments: --flag yesod-auth-oauth2:example
|
|
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run:
|
|
curl --output .hlint.yaml https://raw.githubusercontent.com/pbrisbin/dotfiles/master/hlint.yaml
|
|
- uses: rwe/actions-hlint-setup@v1
|
|
- 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
|