Skip to content

Commit 549fc6e

Browse files
committed
Update python-poetry action from template
1 parent 1001f3e commit 549fc6e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/actions/python-poetry/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
run: |
1717
python3 -m pip install \
1818
"poetry==${{ inputs.poetry_version }}.*" \
19-
"poetry-dynamic-versioning<=0.17.1"
19+
"poetry-dynamic-versioning"
2020
python3 -m pip install --upgrade requests
2121
2222
- name: 🐍 Set up Python
@@ -35,6 +35,8 @@ runs:
3535
run: |
3636
poetry install
3737
poetry lock --check
38+
[ "$(poetry version -s)" != "0.0.0" ] \
39+
|| { echo "Versioning broken"; exit 1; }
3840
3941
- name: 🪝 Cache pre-commit hooks
4042
uses: actions/cache@v3

0 commit comments

Comments
 (0)