Transformation across jbeam files #1356
Workflow file for this run
This file contains hidden or 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: Lint & format | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| jobs: | |
| lint-and-format: | |
| if: github.event.pull_request.draft != true | |
| name: Lint and format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up HLint | |
| uses: haskell-actions/hlint-setup@v2 | |
| with: | |
| version: latest | |
| - name: Run hlint | |
| uses: haskell-actions/hlint-run@v2.4.10 | |
| with: | |
| fail-on: warning | |
| - name: Run fourmolu | |
| uses: haskell-actions/run-fourmolu@v11 | |
| with: | |
| pattern: | | |
| **/*.hs | |
| !examples/ast/*/*.hs | |
| version: latest | |
| - name: Check bash formatting | |
| run: | | |
| sudo apt update > /dev/null 2>&1 | |
| sudo apt install -y shfmt > /dev/null 2>&1 | |
| shfmt -d .github/scripts | |
| env: | |
| FORCE_COLOR: true |