mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01: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:
|
||||
branches: main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@ -25,10 +29,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: freckle/stack-cache-action@v2
|
||||
with:
|
||||
stack-yaml: ${{ matrix.stack-yaml }}
|
||||
- uses: freckle/stack-action@v3
|
||||
- uses: freckle/stack-action@v4
|
||||
with:
|
||||
stack-yaml: ${{ matrix.stack-yaml }}
|
||||
stack-arguments: --flag yesod-auth-oauth2:example
|
||||
@ -37,9 +38,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- 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
|
||||
- uses: haskell/actions/hlint-setup@v2
|
||||
- uses: haskell/actions/hlint-run@v2
|
||||
with:
|
||||
fail-on: warning
|
||||
|
||||
Loading…
Reference in New Issue
Block a user