Skip to content

Commit 8f7569c

Browse files
Update build.yml
1 parent 103d064 commit 8f7569c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Install Poetry
@@ -42,9 +42,11 @@ jobs:
4242
with:
4343
path: .venv
4444
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
45-
- name: Install dependencies
45+
- name: Install dependencies and root package
4646
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
47-
run: poetry install --no-interaction
47+
run: |
48+
poetry install --no-interaction --no-root
49+
poetry install --no-interaction
4850
# Install pandoc for building docs
4951
- name: Install pandoc for Ubuntu
5052
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)