diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2e0d65c89..31e6ad3acc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,6 +79,26 @@ jobs: - name: Check that `mkdocs` can build the docs run: poetry run -- mkdocs build --strict + mkdocs-old-poetry: + name: Check that MkDocs can build the docs with Poetry 1.3.2 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/setup-python@v4 + with: + python-version: 3.11 + - name: Install poetry + uses: abatilo/actions-poetry@v2 + with: + # Test with the version of Poetry in Debian stable. If this becomes a + # problem, we should increase this version and document the minimum + # necessary version of Poetry in contributing.md. + poetry-version: 1.3.2 + - name: Install dependencies + run: poetry install --no-root + - name: Check that `mkdocs` can build the docs + run: poetry run -- mkdocs build --strict + cargo-deny: runs-on: ubuntu-latest strategy: