From 0c74d1e77bfb5acc7a0fa2776d94ced6f0c607b4 Mon Sep 17 00:00:00 2001 From: chris48s Date: Sat, 7 Oct 2023 20:32:04 +0100 Subject: [PATCH] build and deploy docs on minimum supported python version --- .github/workflows/build_docs.yml | 8 ++++++-- .github/workflows/deploy_docs.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index e7bf5cd..c1ca32f 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -8,10 +8,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python + - name: Get python versions + uses: chris48s/satisfying-python@main + id: python-versions + + - name: Set up Python ${{ steps.python-versions.outputs.min }} uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: ${{ steps.python-versions.outputs.min }} - name: Install dependencies run: | diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index a7dd202..ce64fea 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -16,10 +16,14 @@ jobs: with: ref: master - - name: Set up Python + - name: Get python versions + uses: chris48s/satisfying-python@main + id: python-versions + + - name: Set up Python ${{ steps.python-versions.outputs.min }} uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: ${{ steps.python-versions.outputs.min }} - name: Install dependencies run: |