docs: update Haddock comments to reflect schema-based descriptions #8
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
| # This file is automatically generated from Nix configuration. Do not edit directly. | |
| jobs: | |
| build: | |
| name: Build package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v21 | |
| - name: Build package | |
| run: nix build | |
| check: | |
| name: Run flake check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v21 | |
| - name: Run flake check | |
| run: nix flake check | |
| coverage: | |
| name: Test coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v21 | |
| - name: Run tests with coverage | |
| run: | | |
| nix develop -c cabal test --enable-coverage | |
| TIX_FILE=$(find dist-newstyle -name "terranix-codegen-tests.tix" -type f | head -1) | |
| MIX_DIRS=$(find dist-newstyle -type d -name "mix" -path "*/hpc/vanilla/mix" | sed "s/^/--hpcdir=/") | |
| mkdir -p coverage | |
| nix develop -c hpc report $MIX_DIRS "$TIX_FILE" | tee coverage/coverage.txt | |
| nix develop -c hpc markup $MIX_DIRS --destdir=coverage "$TIX_FILE" | |
| - name: Upload coverage report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| name: Check | |
| "on": | |
| pull_request: {} | |
| push: {} | |
| permissions: | |
| contents: read | |
| id-token: write |