chore(deps): bump actions/checkout from 4 to 6 #79
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 Website | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| # - | |
| # name: Install some tools | |
| # run: sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev | |
| # - | |
| # name: Set up Homebrew | |
| # id: set-up-homebrew | |
| # uses: Homebrew/actions/setup-homebrew@master | |
| - | |
| name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - | |
| name: Set up Git repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - | |
| name: Cache asdf installations | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.asdf/installs | |
| ~/.asdf/plugins | |
| ~/.asdf/shims | |
| key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }} | |
| restore-keys: | | |
| ${{ runner.os }}-asdf- | |
| - | |
| name: Cache uv dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cache/uv | |
| .venv | |
| key: ${{ runner.os }}-uv-${{ hashFiles('uv.lock', 'pyproject.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-uv- | |
| - | |
| name: Install asdf & tools | |
| uses: asdf-vm/actions/install@v4 | |
| - | |
| name: Install all MkDocs dependencies | |
| run: | | |
| # echo "/home/linuxbrew/.linuxbrew/bin/brew" >> $GITHUB_PATH | |
| make --environment-overrides docs-install-github-actions | |
| - | |
| name: Build Site | |
| # Build runs on all branches and PRs to validate changes | |
| # run 'docs-build' twice because 'gen_files' doesn't let MkDocs | |
| # pick up on the generated files in the first run | |
| run: | | |
| make --environment-overrides docs-build | |
| make --environment-overrides docs-build | |
| - | |
| name: Deploy Site | |
| # Deploy only runs on main branch after successful build | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| run: make --environment-overrides docs-deploy |