mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0b93645e9f...42375524e2)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
name: linkcheck
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- docs/conf.py
|
|
- .github/workflows/linkcheck.yml
|
|
schedule:
|
|
# Run once a week on Fridays
|
|
- cron: "0 0 * * FRI"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
jobs:
|
|
docs-linkcheck:
|
|
runs-on: ubuntu-latest
|
|
name: "linkcheck"
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Setup python
|
|
id: setup-python
|
|
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.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
|