Skip to content

Commit

Permalink
Lock poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgeiter committed Nov 11, 2023
1 parent fb65c78 commit 85eba1a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
description: Version (format 1.2.3)
required: true

env:
POETRY_VERSION: 1.4.0

jobs:
tag:
name: Tag
Expand All @@ -32,6 +35,8 @@ jobs:
uses: actions/setup-python@v2
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- name: Build
run: poetry build
- name: Publish
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ defaults:
run:
shell: bash # required for snok/install-poetry on windows

env:
POETRY_VERSION: 1.4.0

jobs:
lint:
name: Lint
Expand All @@ -27,6 +30,8 @@ jobs:
python-version: '3.11'
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- name: Install dependencies
run: poetry install
- name: Check formatting
Expand Down Expand Up @@ -55,6 +60,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- name: Install dependencies
run: poetry install
- name: Run tests
Expand Down

0 comments on commit 85eba1a

Please sign in to comment.