Skip to content

Commit ccbe656

Browse files
committed
chore: update CI
1 parent b115fe4 commit ccbe656

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11"]
15+
python-version: ["3.10"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -22,24 +22,12 @@ jobs:
2222
python-version: ${{ matrix.python-version }}
2323

2424
- name: Install Poetry
25-
uses: snok/install-poetry@v1
26-
with:
27-
virtualenvs-create: true
28-
virtualenvs-in-project: true
29-
30-
- name: Load cached venv
31-
id: cached-poetry-dependencies
32-
uses: actions/cache@v3
33-
with:
34-
path: .venv
35-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
25+
run: |
26+
pip install -U poetry
27+
poetry --version
3628
3729
- name: Install dependencies
38-
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
39-
run: poetry install --no-interaction --no-root
40-
41-
- name: Install library
42-
run: poetry install --no-interaction
30+
run: poetry install
4331

4432
- name: Lint with flake8
4533
run: |

0 commit comments

Comments
 (0)