Prepare for release-0.1.0.0 #190
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: cabal-fmt | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-cabal-fmt: | |
| name: cabal-fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📥 Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: 🛠️ Setup cabal-fmt | |
| uses: jorisdral/actions/setup-cabal-fmt@cabal-fmt-v0 | |
| with: | |
| cabal-fmt-version: "0.1.12" | |
| ghc-version: "9.6" | |
| cabal-version: "3.12" | |
| # The index-state is fixed to enable caching and ensure that the version | |
| # regardless of the current state of Hackage head. | |
| # If you want a newer version of cabal-fmt, use a more recent time. | |
| # | |
| hackage-index-state: "2026-02-19T00:00:00Z" | |
| - name: 🎗️ Lint with cabal-fmt | |
| run: ./scripts/ci/format-cabal-fmt.sh && git diff --exit-code |