Skip to content

Commit

Permalink
Reorder steps to use cache
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzuRyo61 committed Dec 3, 2023
1 parent c9cfacb commit 44995e7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry
- run: poetry --version
- uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'poetry'
- name: Install pipx
run: |
python3 -m pip install --user pipx
- name: Install poetry
run: |
pipx install poetry
- name: Install project dependencies
run: |
poetry install --sync --with=main,dev
Expand Down

0 comments on commit 44995e7

Please sign in to comment.