File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ jobs:
2020 steps :
2121 - uses : " actions/checkout@v4"
2222
23- - uses : " actions /setup-python@v5 "
23+ - uses : " pdm-project /setup-pdm@v4 "
2424 with :
2525 python-version : " ${{ matrix.python-version }}"
26- allow-prereleases : true
26+ allow-python-prereleases : true
27+ cache : true
2728
2829 - name : " Run Tox"
2930 run : |
30- python -Im pip install --upgrade pip wheel pdm
3131 python -Im pip install --upgrade tox tox-gh-actions
3232
3333 python -Im tox
7171 echo "total=$TOTAL" >> $GITHUB_ENV
7272
7373 # Report again and fail if under the threshold.
74- python -Im coverage report --fail-under=98
74+ python -Im coverage report --fail-under=99
7575
7676 - name : " Upload HTML report."
7777 uses : " actions/upload-artifact@v3"
@@ -100,12 +100,12 @@ jobs:
100100
101101 steps :
102102 - uses : " actions/checkout@v4"
103- - uses : " actions /setup-python@v5 "
103+ - uses : " pdm-project /setup-pdm@v4 "
104104 with :
105105 python-version : " 3.12"
106106
107- - name : " Install pdm, check-wheel-content, and twine"
108- run : " python -m pip install pdm twine check-wheel-contents"
107+ - name : " Install check-wheel-content and twine"
108+ run : " python -m pip install twine check-wheel-contents"
109109 - name : " Build package"
110110 run : " pdm build"
111111 - name : " List result"
You can’t perform that action at this time.
0 commit comments