chore: move environment linting to Batteries lint driver (#181) #9
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 and Deploy Documentation | |
| on: | |
| push: | |
| branches: | |
| - main # Build docs on merges to main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| id-token: write | |
| pages: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build and lint the project | |
| id: build-lean | |
| uses: leanprover/lean-action@v1 | |
| with: | |
| build-args: "--wfail" | |
| - name: Build project documentation | |
| id: build-docgen | |
| uses: leanprover-community/docgen-action@main | |
| with: | |
| build-page: false |