Skip to content

Commit 093ddf0

Browse files
committed
Use PDM python installer action
Signed-off-by: Samuel Monson <[email protected]>
1 parent 483c5d9 commit 093ddf0

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.github/actions/run-tox/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ inputs:
1313
runs:
1414
using: "composite"
1515
steps:
16-
- name: Set up Python
17-
uses: actions/setup-python@v5
16+
- name: Setup Python with PDM
17+
uses: pdm-project/setup-pdm@v4
1818
with:
1919
python-version: ${{ inputs.python-version }}
2020
- name: Install dependencies
2121
run: |
22-
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
2322
pip install tox tox-pdm
2423
shell: bash
2524
- name: Run tox

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
- name: Set up Python
33-
uses: actions/setup-python@v5
33+
uses: pdm-project/setup-pdm@v4
3434
with:
3535
python-version: ${{ matrix.python }}
3636
- name: Install dependencies
37-
run: pip install tox tox-pdm
37+
run: |
38+
pip install tox tox-pdm
3839
- name: Build the package
3940
run: |
4041
export GUIDELLM_BUILD_TYPE=nightly

.github/workflows/release-candidate.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131
- name: Set up Python
32-
uses: actions/setup-python@v5
32+
uses: pdm-project/setup-pdm@v4
3333
with:
3434
python-version: ${{ matrix.python }}
3535
- name: Install dependencies
3636
run: |
37-
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
3837
pip install tox tox-pdm
3938
- name: Build the package
4039
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030
- name: Set up Python
31-
uses: actions/setup-python@v5
31+
uses: pdm-project/setup-pdm@v4
3232
with:
3333
python-version: ${{ matrix.python }}
3434
- name: Install dependencies
3535
run: |
36-
curl -sSL https://pdm-project.org/install-pdm.py | python3 -
3736
pip install tox tox-pdm
3837
- name: Build the package
3938
run: |

0 commit comments

Comments
 (0)