Skip to content

Commit

Permalink
fixup! chore(linter): replace black with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
catcombo committed Nov 23, 2024
1 parent 3560a91 commit 136b575
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- run: pipx install poetry

- uses: actions/setup-python@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
cache: poetry
python-version: 3.7

- name: Install Poetry
run: |
pip install poetry
poetry config virtualenvs.path ~/.cache/pypoetry/virtualenvs
- run: poetry install --no-root
- name: Restore virtualenv from cache
id: cache
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: poetry-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 136b575

Please sign in to comment.