Skip to content

Commit 1d34f64

Browse files
committed
Docs build shenanigans
1 parent 722e314 commit 1d34f64

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/actions/build-docs/action.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ inputs:
88
runs:
99
using: 'composite'
1010
steps:
11-
- name: Pretend this project requires Python 3.11
12-
shell: bash
13-
run: |
14-
# Poetry won't let me install sphinx as a dev dependency in this project
15-
# because of the wide range of versions our library supports. So during this
16-
# action, we'll pretend this project requires Python 3.11 or greater.
17-
sed -i 's/python = "^3.9"/python = "^3.11"/' pyproject.toml
18-
1911
- name: Setup Poetry
2012
uses: ./.github/actions/setup-poetry
2113
with:
@@ -24,6 +16,16 @@ runs:
2416
include_asyncio: 'true'
2517
python_version: ${{ inputs.python-version }}
2618

19+
- name: Pretend this project requires Python 3.11
20+
shell: bash
21+
run: |
22+
# Poetry won't let me install sphinx as a dev dependency in this project
23+
# because of the wide range of versions our library supports. So during this
24+
# action, we'll pretend this project requires Python 3.11 or greater.
25+
sed -i 's/python = "^3.9"/python = "^3.11"/' pyproject.toml
26+
poetry lock --no-update
27+
poetry install -E grpc -E asyncio
28+
2729
- name: Install sphinx
2830
shell: bash
2931
run: |

0 commit comments

Comments
 (0)