Skip to content

Commit

Permalink
Use actions/setup-python v3
Browse files Browse the repository at this point in the history
Use poetry cache instead of pip cache in CI
  • Loading branch information
srittau committed May 9, 2022
1 parent 6f3a6dc commit 6f4366d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Set up Python "${{ matrix.python-version }}"
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: "**/poetry.lock"
python-version: "${{ matrix.python-version }}"
cache: poetry
- name: Install poetry
run: pip --disable-pip-version-check install -U poetry
- name: Install Python packages
Expand Down

0 comments on commit 6f4366d

Please sign in to comment.