Skip to content

chore: bump toolchain to v4.28.0-rc1 #5218

chore: bump toolchain to v4.28.0-rc1

chore: bump toolchain to v4.28.0-rc1 #5218

Workflow file for this run

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