Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/code-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
with:
python-version: '3.11.10'
- name: Install poetry
run: pip install poetry
run: |
POETRY_VERSION=$(grep -E '^requires-poetry = ' pyproject.toml | sed -E 's/requires-poetry = "(.*)"/\1/')
pip install poetry==$POETRY_VERSION
- name: Install dependencies
run: python -m poetry install
run: poetry install
- name: Ruff check
run: poetry run ruff check .
- name: Ruff format check
Expand All @@ -36,9 +38,11 @@ jobs:
with:
python-version: '3.11.10'
- name: Install poetry
run: pip install poetry
run: |
POETRY_VERSION=$(grep -E '^requires-poetry = ' pyproject.toml | sed -E 's/requires-poetry = "(.*)"/\1/')
pip install poetry==$POETRY_VERSION
- name: Install dependencies
run: python -m poetry install
run: poetry install
- name: configure AWS
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
id: set-version
run: |
if [ "${{ steps.set-version-type.outputs.VERSION_TYPE }}" = "prod" ]; then
pip install poetry
POETRY_VERSION=$(grep -E '^requires-poetry = ' pyproject.toml | sed -E 's/requires-poetry = "(.*)"/\1/')
pip install poetry==$POETRY_VERSION
VERSION=$(poetry version -s)
else
VERSION="dev-${GITHUB_SHA::7}"
Expand Down