Skip to content

Commit fdbb403

Browse files
committed
ci: update ubuntu and action versions
1 parent f3afcd7 commit fdbb403

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,34 @@ jobs:
1111
matrix:
1212
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy2.7", "pypy3.9"]
1313
include:
14+
- setup-python: true
1415
- check-types: true
1516
- python-version: "2.7"
16-
container: "python:2.7.18-buster"
17+
container: "python:2.7.18-slim"
18+
setup-python: false
1719
check-types: false
1820
- python-version: "3.5"
21+
container: "python:3.5.10-slim"
22+
setup-python: false
1923
check-types: false
24+
- python-version: "3.6"
25+
container: "python:3.6.15-slim"
26+
setup-python: false
27+
- python-version: "3.7"
28+
container: "python:3.7.17-slim"
29+
setup-python: false
2030
- python-version: "pypy2.7"
2131
check-types: false
2232

23-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-24.04
2434
container: ${{ matrix.container }}
2535

2636
steps:
27-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
2838

2939
- name: Set up Python ${{ matrix.python-version }}
30-
if: ${{ matrix.python-version != '2.7' }}
31-
uses: actions/setup-python@v4
40+
if: ${{ matrix.setup-python }}
41+
uses: actions/setup-python@v5
3242
with:
3343
python-version: ${{ matrix.python-version }}
3444

0 commit comments

Comments
 (0)