Skip to content

Bump actions/checkout from 3.6.0 to 4.0.0 (#75) #93

Bump actions/checkout from 3.6.0 to 4.0.0 (#75)

Bump actions/checkout from 3.6.0 to 4.0.0 (#75) #93

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
persist-credentials: false
- name: Set up HLint
uses: haskell/actions/hlint-setup@a99601b177e00b98c78b6f6de680a101cf1c619d # v2.4.6
- name: Run HLint
uses: haskell/actions/hlint-run@a99601b177e00b98c78b6f6de680a101cf1c619d # v2.4.6
with:
path: .
fail-on: warning
validate-cabal:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
persist-credentials: false
- name: Validate Cabal file
run: cabal check