Skip to content

Commit 1510a31

Browse files
authored
Fix up (#57)
* Fix up * Resolve poetry from mise
1 parent 2dfcb23 commit 1510a31

File tree

3 files changed

+203
-114
lines changed

3 files changed

+203
-114
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,17 @@ jobs:
4141
- uses: actions/setup-python@v5
4242
with:
4343
python-version: '${{ matrix.python-version }}'
44+
- name: Get Poetry version from .mise.toml
45+
uses: SebRollen/toml-action@v1.0.2
46+
id: get-poetry-version
47+
with:
48+
file: .mise.toml
49+
field: tools.poetry
50+
4451
- name: Install poetry
4552
uses: abatilo/actions-poetry@v4.0.0
4653
with:
47-
poetry-version: '1.5.1'
54+
poetry-version: ${{ steps.get-poetry-version.outputs.value }}
4855
- uses: actions/cache@v4
4956
with:
5057
path: ~/.local/share/virtualenvs

.mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[tools]
22
python = '3.13'
3-
poetry = '1.5.1'
3+
poetry = '2.1.2'
44
pre-commit = '4.2.0'

0 commit comments

Comments
 (0)