Skip to content

Bump haskell/actions from 2.4.6 to 2.4.7 (#41) #73

Bump haskell/actions from 2.4.6 to 2.4.7 (#41)

Bump haskell/actions from 2.4.6 to 2.4.7 (#41) #73

name: Static checks
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize]
permissions: {}
jobs:
hlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up HLint
uses: haskell/actions/hlint-setup@ce6c3a6f8cbe3bd6ce51b635b3f32ee792f22f91 # v2.4.7
- name: Run HLint
uses: haskell/actions/hlint-run@ce6c3a6f8cbe3bd6ce51b635b3f32ee792f22f91 # v2.4.7
with:
path: .
fail-on: warning
validate-cabal:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Validate Cabal file
run: cabal check