Skip to content

Commit 2aab73c

Browse files
committed
Add poetry install to github actions
1 parent 79c9be8 commit 2aab73c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: "CI"
33
on:
44
push:
55
pull_request:
6+
env:
7+
POETRY_VERSION: "1.5.1"
8+
DEFAULT_PY_VERSION: "3.11"
69

710
jobs:
811
Lint:
@@ -13,6 +16,8 @@ jobs:
1316
with:
1417
python-version: 3.12
1518
- name: Linting
19+
env:
20+
RUFF_OUTPUT_FORMAT: github
1621
run: |
1722
pip install ruff
1823
ruff check src
@@ -36,6 +41,10 @@ jobs:
3641

3742
steps:
3843
- uses: actions/checkout@v2
44+
- name: Install poetry
45+
shell: bash
46+
run: pipx install poetry==${{ inputs.poetry-version }}
47+
3948
- name: Set up Python ${{ matrix.python-version }}
4049
uses: actions/setup-python@v1
4150
with:

0 commit comments

Comments
 (0)