Skip to content

Commit 549fc6e

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
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)