Skip to content

Commit

Permalink
cache poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
narumiruna committed Jun 24, 2024
1 parent 5fa59a2 commit 204089e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/artifacts
key: ${{ runner.os }}-poetry-artifacts
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry
- name: Install poetry
run: pipx install poetry==${{ matrix.poetry-version }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# cache: poetry
- name: Install dependencies
run: poetry install
run: poetry install --sync
- name: Lint
run: poetry run ruff check .
- name: Type check
Expand Down

0 comments on commit 204089e

Please sign in to comment.