Skip to content

Commit

Permalink
Use github action to install poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhwaja committed May 19, 2024
1 parent 208d714 commit a82b147
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12.0"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.5.1
- name: Dependencies
run: |
curl -sSL https://install.python-poetry.org | python - --version 1.5.1
poetry config virtualenvs.create false
poetry install
- name: Lint
Expand Down

0 comments on commit a82b147

Please sign in to comment.