[Computer Vision] Added Google Colab Chapter #23
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: Check if the site can be built. | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - README.md | |
| - CONTRIBUTING.md | |
| - .gitignore | |
| - .dockerignore | |
| - docker-compose.yaml | |
| - Dockerfile | |
| - dev.py | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch the whole git history | |
| # (needed for git-revision-date-localized & | |
| # mkdocs-git-authors-plugin plugin) | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| # respects pinned Python version | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install the project | |
| run: uv sync --locked | |
| - name: Build the site | |
| run: uv run mkdocs build --strict |