build(dependency): ⬆️ bump cryptography from 41.0.5 to 42.0.1 #1093
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
# SPDX-FileCopyrightText: © 2020-2023 Claudio Jolowicz | |
# SPDX-FileCopyrightText: © 2023 Romain Brault <mail@romainbrault.com> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Documentation | |
env: | |
PYTHON_VERSION: "3.11" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
docs: | |
name: Build documentation & check links | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4.7.1 | |
id: setup-python | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
check-latest: true | |
- name: Upgrade pip | |
run: | | |
pip install --constraint=.github/workflows/constraints.txt pip | |
pip --version | |
- name: Install Poetry | |
run: | | |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry | |
poetry --version | |
- name: Install Nox | |
run: | | |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox | |
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry rich | |
nox --version | |
- name: Build documentation | |
run: nox --force-color --session=docs-build --force-python="${{ steps.setup-python.outputs.python-path }}" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: docs | |
path: docs/_build | |
- name: Check links | |
run: nox --force-color --session=docs-check-links --force-python="${{ steps.setup-python.outputs.python-path }}" |