Skip to content

Commit dccac36

Browse files
authored
Update GitHub Action versions. (#88)
* Update GitHub Action versions. * Update pypy version names for setup-python@v5. * Update Python version used to build sdist and wheels to the earliest version supported by the build package.
1 parent 43496ec commit dccac36

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
name: Build sdist
1313
runs-on: ubuntu-20.04
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616

17-
- uses: actions/setup-python@v2
17+
- uses: actions/setup-python@v5
1818
name: Install Python
1919
with:
20-
python-version: "3.6"
20+
# Python 3.8 is the oldest version supported by build
21+
python-version: "3.8"
2122

2223
- name: Install pip build
2324
run: |
@@ -28,7 +29,7 @@ jobs:
2829
run: |
2930
python -m build --sdist .
3031
31-
- uses: actions/upload-artifact@v2
32+
- uses: actions/upload-artifact@v4
3233
with:
3334
name: sdist
3435
path: |
@@ -42,12 +43,13 @@ jobs:
4243
# Build a wheel without speedups that can run on pure Python
4344
GENSHI_BUILD_SPEEDUP: 0
4445
steps:
45-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v4
4647

47-
- uses: actions/setup-python@v2
48+
- uses: actions/setup-python@v5
4849
name: Install Python
4950
with:
50-
python-version: "3.6"
51+
# Python 3.8 is the oldest version supported by build
52+
python-version: "3.8"
5153

5254
- name: Install pip build
5355
run: |
@@ -58,7 +60,7 @@ jobs:
5860
run: |
5961
python -m build --wheel .
6062
61-
- uses: actions/upload-artifact@v2
63+
- uses: actions/upload-artifact@v4
6264
with:
6365
name: wheels
6466
path: |
@@ -78,9 +80,9 @@ jobs:
7880

7981
steps:
8082
- name: Download build artifacts to local runner
81-
uses: actions/download-artifact@v2
83+
uses: actions/download-artifact@v4
8284

83-
- uses: actions/setup-python@v2
85+
- uses: actions/setup-python@v5
8486
name: Install Python
8587
with:
8688
python-version: "3.10"

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", pypy3]
12+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "pypy3.9"]
1313
pytest-extra-options: ["--strict-config -W \"ignore:pkg_resources is deprecated\""]
1414
include:
15-
- python-version: pypy2
15+
- python-version: "pypy2.7"
1616
pytest-extra-options: ""
1717
- python-version: "3.13.0-beta.2"
1818
pytest-extra-options: "--strict-config -W \"ignore:pkg_resources is deprecated\" -W ignore::DeprecationWarning"
1919
fail-fast: false
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

0 commit comments

Comments
 (0)