chore(deps): bump actions/checkout from 6.0.0 to 6.0.1 #2000
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: Build project | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.lean' | |
| - '**/blueprint.yml' | |
| - 'blueprint/**' | |
| - 'docs/**' | |
| - 'scripts/**' | |
| - 'lean-toolchain' | |
| - 'lakefile.toml' | |
| - 'lake-manifest.json' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.lean' | |
| - '**/blueprint.yml' | |
| - 'blueprint/**' | |
| - 'docs/**' | |
| - 'scripts/**' | |
| - 'lean-toolchain' | |
| - 'lakefile.toml' | |
| - 'lake-manifest.json' | |
| workflow_dispatch: # Allow manual triggering of the workflow from the GitHub Actions interface | |
| # We do not cancel CI on main so as to keep all commits green (cancelling CI on a commit makes it | |
| # red). | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages and modify PR labels | |
| permissions: | |
| contents: read # Read access to repository contents | |
| pages: write # Write access to GitHub Pages | |
| id-token: write # Write access to ID tokens | |
| issues: write # Write access to issues | |
| pull-requests: write # Write access to pull requests | |
| jobs: | |
| style_lint: | |
| name: Lint style | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 # Fetch all history for all branches and tags | |
| - name: Don't 'import Mathlib', use precise imports | |
| if: always() | |
| run: | | |
| ! (find FLT -name "*.lean" -type f -print0 | xargs -0 grep -E -n '^import Mathlib$') | |
| build_project: | |
| runs-on: ubuntu-latest | |
| name: Build project | |
| steps: | |
| - name: Cleanup to free disk space | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| # this might remove tools that are actually needed, | |
| # if set to "true" but frees about 6 GB | |
| tool-cache: false | |
| # all of these default to true, but feel free to set to | |
| # "false" if necessary for your workflow | |
| android: true | |
| dotnet: false | |
| haskell: false | |
| large-packages: false | |
| docker-images: false | |
| swap-storage: false | |
| - name: Checkout project | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 # Fetch all history for all branches and tags | |
| - name: Build and lint project | |
| uses: leanprover/lean-action@v1 | |
| with: | |
| build: true | |
| lint: true | |
| mk_all-check: true | |
| - name: Upstreaming dashboard | |
| run: python3 scripts/upstreaming_dashboard.py | |
| - uses: leanprover-community/docgen-action@deed0cdc44dd8e5de07a300773eb751d33e32fc8 # 2025-10-26 | |
| with: | |
| blueprint: true | |
| homepage: docs |