Skip to content

Bump ruff from 0.0.281 to 0.0.282 (#9343) #1856

Bump ruff from 0.0.281 to 0.0.282 (#9343)

Bump ruff from 0.0.281 to 0.0.282 (#9343) #1856

Workflow file for this run

name: linkcheck
on:
pull_request:
paths:
- docs/conf.py
- .github/workflows/linkcheck.yml
push:
branches:
- main
permissions:
contents: read
env:
CARGO_INCREMENTAL: 0
jobs:
docs-linkcheck:
runs-on: ubuntu-latest
name: "linkcheck"
timeout-minutes: 10
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
- name: Setup python
id: setup-python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: 3.11
- name: Cache rust and pip
uses: ./.github/actions/cache
timeout-minutes: 2
with:
# This creates the same key as the docs job (as long as they have the same
# python version)
key: 3.11-${{ steps.setup-python.outputs.python-version }}
- run: python -m pip install -c ci-constraints-requirements.txt nox
- name: Build nox environment
run: |
nox -v --install-only -s docs-linkcheck
env:
CARGO_TARGET_DIR: ${{ format('{0}/src/rust/target/', github.workspace) }}
- name: linkcheck
run: nox --no-install -s docs-linkcheck -- --color=yes