Skip to content

Commit 1f710bf

Browse files
committed
ci: Update test runner to run on ubuntu-22.04 with Python 3.10
1 parent 00aee8d commit 1f710bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
jobs:
88
build_dist:
99
name: Build distribution on Ubuntu
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313

1414
- uses: actions/setup-python@v3
1515
with:
16-
python-version: '3.8'
16+
python-version: '3.10'
1717

1818
- name: Install build dependencies
1919
run: python -m pip install --no-cache-dir -U setuptools build
@@ -28,7 +28,7 @@ jobs:
2828
upload_dist:
2929
needs: [ build_dist ]
3030
name: Upload distribution to PyPI
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-22.04
3232
if: github.event_name == 'release' && github.event.action == 'published'
3333
steps:
3434
- uses: actions/download-artifact@v3

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on: [push, pull_request]
55
jobs:
66
run_tests:
77
name: Run tests
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v3
1111

1212
- uses: actions/setup-python@v3
1313
with:
14-
python-version: '3.8'
14+
python-version: '3.10'
1515
cache: 'pip'
1616

1717
- name: Install dependencies

0 commit comments

Comments
 (0)