Skip to content

Commit

Permalink
Use GH action to install poetry in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Jan 22, 2025
1 parent 60cb697 commit 44e9134
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ jobs:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Install Poetry
run: |
pip install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Install dependencies
run: poetry install --no-interaction --no-root
- name: Create local changes
run: |
poetry install --no-interaction
Expand Down

0 comments on commit 44e9134

Please sign in to comment.