From 5df7773839aa3c20fce811caa49544737fb913e4 Mon Sep 17 00:00:00 2001 From: Haisheng Date: Wed, 25 Oct 2023 22:32:01 -0700 Subject: [PATCH] Update lint.yml Update build.yml (#238) update action to `haskell-actions/setup` Update lint.yml (#239) Update to haskell-actions --- .github/workflows/build.yml | 4 ++-- .github/workflows/lint.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbf6d75e..79270489 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8532add3..308ce97f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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