Skip to content

Commit 1561a4b

Browse files
committed
ci(actions): upgrade to Ubuntu 24.04 and Python 3.12 (#409)
Closes reanahub/reana#808
1 parent 9b0c589 commit 1561a4b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on: [push, pull_request]
1010

1111
jobs:
1212
lint-commitlint:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
3636
./run-tests.sh --check-commitlint ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.number }}
3737
3838
lint-shellcheck:
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-24.04
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@v4
@@ -47,15 +47,15 @@ jobs:
4747
./run-tests.sh --check-shellcheck
4848
4949
docs-sphinx:
50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-24.04
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v4
5454

5555
- name: Setup Python
5656
uses: actions/setup-python@v5
5757
with:
58-
python-version: 3.8
58+
python-version: 3.12
5959

6060
- name: Install system dependencies
6161
run: sudo apt-get update -y
@@ -69,7 +69,7 @@ jobs:
6969
run: ./run-tests.sh --check-sphinx
7070

7171
format-prettier:
72-
runs-on: ubuntu-20.04
72+
runs-on: ubuntu-24.04
7373
steps:
7474
- name: Checkout
7575
uses: actions/checkout@v4
@@ -86,7 +86,7 @@ jobs:
8686
run: ./run-tests.sh --check-prettier
8787

8888
lint-js:
89-
runs-on: ubuntu-20.04
89+
runs-on: ubuntu-24.04
9090
steps:
9191
- name: Checkout
9292
uses: actions/checkout@v4
@@ -103,7 +103,7 @@ jobs:
103103
run: ./run-tests.sh --check-lint
104104

105105
js-tests:
106-
runs-on: ubuntu-20.04
106+
runs-on: ubuntu-24.04
107107
steps:
108108
- name: Checkout
109109
uses: actions/checkout@v4
@@ -120,7 +120,7 @@ jobs:
120120
run: ./run-tests.sh --check-js-tests
121121

122122
lint-dockerfile:
123-
runs-on: ubuntu-20.04
123+
runs-on: ubuntu-24.04
124124
steps:
125125
- name: Checkout
126126
uses: actions/checkout@v4
@@ -129,7 +129,7 @@ jobs:
129129
run: ./run-tests.sh --check-dockerfile
130130

131131
docker-build:
132-
runs-on: ubuntu-20.04
132+
runs-on: ubuntu-24.04
133133
steps:
134134
- name: Checkout
135135
uses: actions/checkout@v4
@@ -138,7 +138,7 @@ jobs:
138138
run: ./run-tests.sh --check-docker-build
139139

140140
release-docker:
141-
runs-on: ubuntu-20.04
141+
runs-on: ubuntu-24.04
142142
if: >
143143
vars.RELEASE_DOCKER == 'true' &&
144144
github.event_name == 'push' &&

.readthedocs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
version: 2
88

99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
12-
python: "3.8"
12+
python: "3.12"
1313

1414
sphinx:
1515
configuration: docs/conf.py

0 commit comments

Comments
 (0)