mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-27 05:07:44 +02:00
Update CI
- Add concurrency - Use updated stack-action that caches for itself - Use haskell/actions HLint actions - Stop curling a .hlint.yaml, we have one here
This commit is contained in:
parent
15a75ff6f9
commit
8b46e82981
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -5,6 +5,10 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -25,10 +29,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: freckle/stack-cache-action@v2
|
- uses: freckle/stack-action@v4
|
||||||
with:
|
|
||||||
stack-yaml: ${{ matrix.stack-yaml }}
|
|
||||||
- uses: freckle/stack-action@v3
|
|
||||||
with:
|
with:
|
||||||
stack-yaml: ${{ matrix.stack-yaml }}
|
stack-yaml: ${{ matrix.stack-yaml }}
|
||||||
stack-arguments: --flag yesod-auth-oauth2:example
|
stack-arguments: --flag yesod-auth-oauth2:example
|
||||||
@ -37,9 +38,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run:
|
- uses: haskell/actions/hlint-setup@v2
|
||||||
curl --output .hlint.yaml https://raw.githubusercontent.com/pbrisbin/dotfiles/master/hlint.yaml
|
- uses: haskell/actions/hlint-run@v2
|
||||||
- uses: rwe/actions-hlint-setup@v1
|
|
||||||
- uses: rwe/actions-hlint-run@v2
|
|
||||||
with:
|
with:
|
||||||
fail-on: warning
|
fail-on: warning
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user