This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Add temporary exact Lean 4.32.0 verification workflow #1
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: RACC-R Lean Wave 2 verification | |
| on: | |
| push: | |
| branches: | |
| - verify/raccr-wave2-20260807 | |
| permissions: | |
| contents: read | |
| jobs: | |
| lean-core: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout verification commit | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Install exact Lean toolchain | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh \ | |
| | sh -s -- -y --default-toolchain leanprover/lean4:v4.32.0 | |
| echo "$HOME/.elan/bin" >> "$GITHUB_PATH" | |
| - name: Verify toolchain identity | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| lean --version | |
| test "$(lean --version | head -n1)" = "Lean (version 4.32.0, x86_64-unknown-linux-gnu, commit 8c9756b28d64dab099da31a4c09229a9e6a2ef35, Release)" | |
| - name: Kernel-check Lean-core proof file | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| lean formal/RACCR_Wave2_Followups.lean | |
| - name: Enforce banned-token gate | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| if grep -nE '\b(sorry|admit|axiom|native_decide|omega|linarith|Finset|Fintype|BigOperators)\b|Nat\.sub' formal/RACCR_Wave2_Followups.lean; then | |
| exit 1 | |
| fi |