Update sbt, sbt-dependency-tree, ... to 1.12.6 #856
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: Test documentation compilation | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| cache: pip | |
| python-version-file: 'docs/.python-version' | |
| cache-dependency-path: 'docs/requirements.txt' | |
| - name: Install dependencies | |
| working-directory: ./docs | |
| run: pip install -r requirements.txt | |
| - name: Build documentation | |
| working-directory: ./docs | |
| run: | | |
| export TAG='main' | |
| mkdocs build -s | |
| - name: Check broken links | |
| working-directory: ./docs | |
| run: | | |
| # Need to start a server because linkchecker doesn't recurse into local dirs | |
| # And canonical links don't work correctly | |
| TAG='main' mkdocs serve & | |
| sleep 5 | |
| linkchecker \ | |
| --no-warning \ | |
| --check-extern \ | |
| --ignore "https://doi.org" \ | |
| http://localhost:8000 | |
| kill $! |