Skip to content

Commit dea1b53

Browse files
authored
Update poetry to 2.2.1 in GitHub Actions (#55)
1 parent 7fce36c commit dea1b53

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

β€Ž.github/workflows/publish.yamlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
python-version: "3.13"
2020

2121
- name: Install Poetry and pre-commit πŸ’ˆ
22-
run: pip install poetry==1.8.5 pre-commit
22+
run: pip install poetry==2.2.1 pre-commit
2323

2424
- name: Install dependencies πŸ› 
2525
run: poetry install
@@ -54,4 +54,5 @@ jobs:
5454
path: dist
5555

5656
- name: Publish package to PyPI πŸ™Œ
57+
if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
5758
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e #v1.13.0

β€Ž.github/workflows/test_latest_python.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
allow-prereleases: true
2222

2323
- name: Install Poetry and pre-commit πŸ’ˆ
24-
run: pip install poetry==1.8.5 pre-commit
24+
run: pip install poetry==2.2.1 pre-commit
2525

2626
- name: Install dependencies πŸ› 
2727
run: poetry install

β€Ž.github/workflows/tests.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
- name: Install Poetry and pre-commit πŸ’ˆ
24-
run: pip install poetry==1.8.5 pre-commit
24+
run: pip install poetry==2.2.1 pre-commit
2525

2626
- name: Install dependencies πŸ› 
2727
run: poetry install

0 commit comments

Comments
Β (0)