Skip to content

Commit

Permalink
Add poetry install to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
slott56 committed May 21, 2024
1 parent 79c9be8 commit 2aab73c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: "CI"
on:
push:
pull_request:
env:
POETRY_VERSION: "1.5.1"
DEFAULT_PY_VERSION: "3.11"

jobs:
Lint:
Expand All @@ -13,6 +16,8 @@ jobs:
with:
python-version: 3.12
- name: Linting
env:
RUFF_OUTPUT_FORMAT: github
run: |
pip install ruff
ruff check src
Expand All @@ -36,6 +41,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install poetry
shell: bash
run: pipx install poetry==${{ inputs.poetry-version }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
Expand Down

0 comments on commit 2aab73c

Please sign in to comment.