chore: bump toolchain to v4.28.0-rc1 #5218
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: doc-gen test build | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| jobs: | |
| build: | |
| name: doc-gen test build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: install elan and build doc-gen4 | |
| uses: leanprover/lean-action@v1 | |
| with: | |
| build-args: "--wfail" | |
| - name: Build docs | |
| run: | | |
| export LEAN_ABORT_ON_PANIC=1 | |
| # to ensure that the `--query` test below has a baseline to compare against. | |
| rm -rf .lake/build/docs | |
| lake build DocGen4:docs | |
| - name: Check `--query` output | |
| shell: bash # enables pipefail | |
| run: | | |
| export LEAN_ABORT_ON_PANIC=1 | |
| lake query DocGen4:docs | sort > expected.txt | |
| find "$(pwd)/.lake/build/doc" -type f ! -name '*.trace' ! -name '*.hash' | sort > actual.txt | |
| diff actual.txt expected.txt |