Skip to content

Commit

Permalink
use Hlint v3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Jan 21, 2024
1 parent d3f3f3d commit bcd3aeb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,30 @@ on:
branches: ["main", "development"]

jobs:
hlint:
fourmolu:
runs-on: ubuntu-latest
permissions:
# Needed to upload results to GitHub code scanning.
security-events: write
steps:
- uses: actions/checkout@v3
- uses: haskell-actions/hlint-scan@v1
- uses: actions/checkout@v4

- uses: haskell-actions/run-fourmolu@v9
with:
version: "0.12.0.0"
pattern: |
src/**/*.hs
styling:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: haskell-actions/run-fourmolu@v9
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
with:
version: "0.12.0.0"
version: '3.8'

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

Binary file removed get-tested
Binary file not shown.

0 comments on commit bcd3aeb

Please sign in to comment.