Skip to content

Commit 640ae4f

Browse files
Merge pull request #286 from finnagin/ubuntu-update
Update ubuntu runner and upload-artifact action versions
2 parents 5ce0aa7 + bae8978 commit 640ae4f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os:
18-
- ubuntu-20.04
18+
- ubuntu-latest
1919
python-version:
2020
- 3.8
2121
- 3.9
@@ -40,9 +40,9 @@ jobs:
4040
- name: Test with tox
4141
run: python -m tox
4242
- name: Store partial coverage reports
43-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4444
with:
45-
name: coverage
45+
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
4646
path: .coverage.*
4747

4848
test_linux_no_gil:
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
os:
54-
- ubuntu-20.04
54+
- ubuntu-latest
5555
python-version: [3.13]
5656
steps:
5757
- name: Checkout code
@@ -68,9 +68,9 @@ jobs:
6868
- name: Test with tox
6969
run: python -m tox
7070
- name: Store partial coverage reports
71-
uses: actions/upload-artifact@v3
71+
uses: actions/upload-artifact@v4
7272
with:
73-
name: coverage
73+
name: coverage-no-gil-${{ matrix.os }}-${{ matrix.python-version }}
7474
path: .coverage.*
7575

7676
# test_aarch64_linux:
@@ -79,10 +79,10 @@ jobs:
7979
# strategy:
8080
# matrix:
8181
# python:
82-
# #- {os: ubuntu-20.04, python-version: 3.7, pyver: py37}
83-
# #- {os: ubuntu-20.04, python-version: 3.8, pyver: py38}
84-
# #- {os: ubuntu-20.04, python-version: 3.9, pyver: py39}
85-
# - {os: ubuntu-20.04, python-version: "3.10", pyver: py310}
82+
# #- {os: ubuntu-latest, python-version: 3.7, pyver: py37}
83+
# #- {os: ubuntu-latest, python-version: 3.8, pyver: py38}
84+
# #- {os: ubuntu-latest, python-version: 3.9, pyver: py39}
85+
# - {os: ubuntu-latest, python-version: "3.10", pyver: py310}
8686
# env:
8787
# py: python${{ matrix.python.python-version }}
8888
# steps:
@@ -138,9 +138,9 @@ jobs:
138138
- name: Test with tox
139139
run: python -m tox
140140
- name: Store partial coverage reports
141-
uses: actions/upload-artifact@v3
141+
uses: actions/upload-artifact@v4
142142
with:
143-
name: coverage
143+
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
144144
path: .coverage.*
145145

146146
test_windows:
@@ -180,7 +180,7 @@ jobs:
180180
- test_linux
181181
- test_macos
182182
- test_windows
183-
runs-on: ubuntu-20.04
183+
runs-on: ubuntu-latest
184184
steps:
185185
- name: Checkout code
186186
uses: actions/checkout@v3
@@ -197,9 +197,9 @@ jobs:
197197
- name: Build pure Python source wheel
198198
run: WRAPT_INSTALL_EXTENSIONS=false python setup.py bdist_wheel
199199
- name: Store built wheels
200-
uses: actions/upload-artifact@v3
200+
uses: actions/upload-artifact@v4
201201
with:
202-
name: dist
202+
name: sdist
203203
path: dist/*
204204

205205
bdist_wheel:
@@ -213,10 +213,10 @@ jobs:
213213
runs-on: ${{ matrix.os }}
214214
strategy:
215215
matrix:
216-
os: [ubuntu-20.04, windows-latest, macos-13, macos-14]
216+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
217217
arch: [auto]
218218
include:
219-
- os: ubuntu-20.04
219+
- os: ubuntu-latest
220220
arch: aarch64
221221
- os: macos-13
222222
arch: universal2
@@ -237,9 +237,9 @@ jobs:
237237
CIBW_BUILD_VERBOSITY: 1
238238
CIBW_ARCHS: ${{ matrix.arch }}
239239
CIBW_FREE_THREADED_SUPPORT: 1
240-
- uses: actions/upload-artifact@v3
240+
- uses: actions/upload-artifact@v4
241241
with:
242-
name: dist
242+
name: dist-${{ matrix.os }}-${{ matrix.arch }}
243243
path: dist/*.whl
244244

245245
# coveralls:
@@ -250,7 +250,7 @@ jobs:
250250
# - test_linux_no_gil
251251
# - test_macos
252252
# - test_windows
253-
# runs-on: ubuntu-20.04
253+
# runs-on: ubuntu-latest
254254
# steps:
255255
# - name: Checkout code
256256
# uses: actions/checkout@v3

0 commit comments

Comments
 (0)