MathTensor solves Putnam 2025. #2
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: Lean CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| verify: | |
| name: Verify Putnam 2025 solutions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install Lean toolchain | |
| run: | | |
| curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain "$(cat lean-toolchain)" | |
| echo "$HOME/.elan/bin" >> "$GITHUB_PATH" | |
| - name: Fetch dependencies | |
| run: | | |
| lake exe cache get | |
| - name: Verify solution files | |
| run: | | |
| for name in A B; do | |
| for i in 1 2 3 4 5 6; do | |
| lake env lean "Putnam2025/${name}${i}/solution.lean" | |
| done | |
| done |