Skip to content

Commit

Permalink
Trying workaround with Poetry caching issue.
Browse files Browse the repository at this point in the history
Using the workaround posted here:
actions/setup-python#374 (comment)
  • Loading branch information
donfiguerres committed Jul 13, 2022
1 parent 7323484 commit 184c35e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
run: pipx install poetry
- name: Cache poetry dependencies
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'poetry'
- name: Install dependencies
run: |
poetry env use "3.9"
poetry install --no-interaction
- name: Run linting
run: poetry run make lint
- name: Run tests
Expand Down

0 comments on commit 184c35e

Please sign in to comment.