Skip to content

Commit df02630

Browse files
Merge pull request #93 from aboutcode-org/update-ci-runners
Update CI/Actions runners
2 parents acb36f5 + 4af4fce commit df02630

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

.github/workflows/docs-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88

99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.9]
12+
python-version: [3.12]
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

.github/workflows/pypi-release.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.9
31+
python-version: 3.12
3232

3333
- name: Install pypa/build
3434
run: python -m pip install build --user
@@ -37,7 +37,7 @@ jobs:
3737
run: python -m build --sdist --wheel --outdir dist/
3838

3939
- name: Upload built archives
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: pypi_archives
4343
path: dist/*
@@ -47,17 +47,17 @@ jobs:
4747
name: Create GH release
4848
needs:
4949
- build-pypi-distribs
50-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-24.04
5151

5252
steps:
5353
- name: Download built archives
54-
uses: actions/download-artifact@v3
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: pypi_archives
5757
path: dist
5858

5959
- name: Create GH release
60-
uses: softprops/action-gh-release@v1
60+
uses: softprops/action-gh-release@v2
6161
with:
6262
draft: true
6363
files: dist/*
@@ -67,11 +67,11 @@ jobs:
6767
name: Create PyPI release
6868
needs:
6969
- create-gh-release
70-
runs-on: ubuntu-22.04
70+
runs-on: ubuntu-24.04
7171

7272
steps:
7373
- name: Download built archives
74-
uses: actions/download-artifact@v3
74+
uses: actions/download-artifact@v4
7575
with:
7676
name: pypi_archives
7777
path: dist

azure-pipelines.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,56 @@ jobs:
99

1010
- template: etc/ci/azure-posix.yml
1111
parameters:
12-
job_name: ubuntu20_cpython
13-
image_name: ubuntu-20.04
14-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
12+
job_name: ubuntu22_cpython
13+
image_name: ubuntu-22.04
14+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
test_suites:
1616
all: venv/bin/pytest -n 2 -vvs
1717

1818
- template: etc/ci/azure-posix.yml
1919
parameters:
20-
job_name: ubuntu22_cpython
21-
image_name: ubuntu-22.04
22-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
20+
job_name: ubuntu24_cpython
21+
image_name: ubuntu-24.04
22+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
2323
test_suites:
2424
all: venv/bin/pytest -n 2 -vvs
2525

2626
- template: etc/ci/azure-posix.yml
2727
parameters:
2828
job_name: macos13_cpython
2929
image_name: macOS-13
30-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
30+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
3131
test_suites:
3232
all: venv/bin/pytest -n 2 -vvs
3333

3434
- template: etc/ci/azure-posix.yml
3535
parameters:
3636
job_name: macos14_cpython_arm64
3737
image_name: macOS-14
38-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
38+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
3939
test_suites:
4040
all: venv/bin/pytest -n 2 -vvs
4141

4242
- template: etc/ci/azure-posix.yml
4343
parameters:
4444
job_name: macos14_cpython
4545
image_name: macOS-14-large
46-
python_versions: ['3.8', '3.8', '3.9', '3.10', '3.12']
46+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
4747
test_suites:
4848
all: venv/bin/pytest -n 2 -vvs
4949

5050
- template: etc/ci/azure-win.yml
5151
parameters:
5252
job_name: win2019_cpython
5353
image_name: windows-2019
54-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
54+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
5555
test_suites:
5656
all: venv\Scripts\pytest -n 2 -vvs
5757

5858
- template: etc/ci/azure-win.yml
5959
parameters:
6060
job_name: win2022_cpython
6161
image_name: windows-2022
62-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
62+
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
6363
test_suites:
6464
all: venv\Scripts\pytest -n 2 -vvs

0 commit comments

Comments
 (0)