Skip to content

Commit 0fb0633

Browse files
committed
update actions to most recent versions
1 parent 22c14bf commit 0fb0633

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
name: Build python package and publish to PyPi
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@master
11-
- name: Set up Python 3.9
12-
uses: actions/setup-python@v2
10+
- uses: actions/checkout@v6
11+
- name: Set up Python 3.13
12+
uses: actions/setup-python@v5
1313
with:
14-
python-version: 3.9
14+
python-version: 3.13
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

.github/workflows/publish-to-test-pypi.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name: Publish to Test PyPi
22

3-
on: workflow_dispatch
3+
on:
4+
release:
5+
types: [published]
46

57
jobs:
68
build-and-publish:
79
name: Build python package and publish to Test PyPi
810
runs-on: ubuntu-latest
911
steps:
10-
- uses: actions/checkout@master
11-
- name: Set up Python 3.9
12-
uses: actions/setup-python@v2
12+
- uses: actions/checkout@v6
13+
- name: Set up Python 3.13
14+
uses: actions/setup-python@v5
1315
with:
14-
python-version: 3.9
16+
python-version: 3.13
1517
- name: Install dependencies
1618
run: |
1719
python -m pip install --upgrade pip

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up Python 3.9
17-
uses: actions/setup-python@v4
15+
- uses: actions/checkout@v6
16+
- name: Set up Python 3.13
17+
uses: actions/setup-python@v5 # using v5 since ubuntu-latest currently does not support node 24 (v6 runs on 24)
1818
with:
19-
python-version: '3.9'
19+
python-version: '3.13' # 3.14 currently not found using v5 setup-python
2020
cache: 'pip' # caching pip dependencies
2121
cache-dependency-path: setup.py
2222
- name: Install dependencies

0 commit comments

Comments
 (0)