Skip to content

Commit

Permalink
Update lint.yml
Browse files Browse the repository at this point in the history
Update build.yml (#238)

update action to `haskell-actions/setup`

Update lint.yml (#239)

Update to haskell-actions
  • Loading branch information
freizl committed Oct 26, 2023
1 parent 808b94e commit 5df7773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["9.6.1", "9.2.7", "8.10.7"]
ghc: ["9.6", "9.2", "8.10"]
cabal: ["3.8"]
name: Build hoauth2 on GHC ${{ matrix.ghc }}

steps:
- uses: actions/checkout@v3

- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- uses: actions/checkout@v3

- name: "Set up HLint"
uses: haskell/actions/hlint-setup@v2
uses: haskell-actions/hlint-setup@v2
with:
version: '3.5'

- name: "Run HLint"
uses: haskell/actions/hlint-run@v2
uses: haskell-actions/hlint-run@v2
with:
path: '["hoauth2/src/", "hoauth2-tutorial/src", "hoauth2-tutorial/app", "hoauth2-providers/src", "hoauth2-providers-tutorial/src"]'
path: '["hoauth2/src/", "hoauth2-tutorial/src", "hoauth2-providers/src", "hoauth2-providers-tutorial/src"]'
fail-on: warning

0 comments on commit 5df7773

Please sign in to comment.