Skip to content

Commit

Permalink
Lint jobs on solution branch
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Jan 3, 2024
1 parent 2c52885 commit 16f4330
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,34 @@ jobs:
with:
version: "0.11.0.0"

lint-solution:
name: "Run hlint on the solution branch"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: solution

- name: Set up HLint
uses: haskell-actions/hlint-setup@v2

- name: Run HLint
uses: haskell-actions/hlint-run@v2
with:
fail-on: warning

fourmolu-solution:
name: "Run fourmolu on the solution branch"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: solution

- uses: haskell-actions/run-fourmolu@v9
with:
version: "0.11.0.0"

generateMatrix:
name: "Generate matrix from cabal"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 16f4330

Please sign in to comment.