Bump haskell/actions from 2.4.6 to 2.4.7 #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |