chore(deps): update dependency @astrojs/starlight to v0.28.2 (#1198) #5276
This file contains 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: Run Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
merge_group: | |
jobs: | |
checks: | |
name: Run Checks | |
env: | |
BINSTALL_VERSION: 1.8.0 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions/setup-node@v4 | |
if: matrix.os == 'ubuntu-latest' | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: docs/package-lock.json | |
- name: Install cargo-binstall | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
gh release download "v${BINSTALL_VERSION}" --repo "cargo-bins/cargo-binstall" --pattern "cargo-binstall-x86_64-unknown-linux-musl.tgz" | |
tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz | |
cp cargo-binstall $HOME/.cargo/bin | |
env: | |
GH_TOKEN: ${{ github.token }} | |
- name: Install cargo-binstall | |
if: matrix.os == 'windows-latest' | |
run: | | |
gh release download "v${{ env.BINSTALL_VERSION }}" --repo "cargo-bins/cargo-binstall" --pattern "cargo-binstall-x86_64-pc-windows-msvc.zip" | |
unzip cargo-binstall-x86_64-pc-windows-msvc.zip | |
cp cargo-binstall.exe $HOME/.cargo/bin | |
env: | |
GH_TOKEN: ${{ github.token }} | |
- name: Install nightly toolchain (for formatting) | |
if: matrix.os == 'ubuntu-latest' | |
run: rustup toolchain install nightly --component rustfmt | |
- name: Install Just | |
run: cargo-binstall --no-confirm just --force | |
- name: Run CI | |
if: matrix.os == 'ubuntu-latest' | |
run: just binstall_args="--force" install-all-dependencies ci | |
- name: Run tests only | |
if: matrix.os == 'windows-latest' | |
run: just test | |
vale: | |
name: Vale | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: errata-ai/vale-action@reviewdog | |
with: | |
files: '["docs", "README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]' |