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)

Former-commit-id: ddf90f7
Former-commit-id: 5ea8accbda113ec7612db6c8443a1876304e32d2
  • Loading branch information
donfiguerres committed Jul 13, 2022
1 parent 18c7ad7 commit 5403a30
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
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 5403a30

Please sign in to comment.