Skip to content

Refresh all reusable actions to latest version (#81) #105

Refresh all reusable actions to latest version (#81)

Refresh all reusable actions to latest version (#81) #105

name: Static checks
on:
push:
branches: [master]
pull_request:
branches: [master]
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