Skip to content

Commit 2528927

Browse files
committed
gh: Pin GitHub Actions runners to Ubuntu 24.04
Previously, the workflows were using 'ubuntu-latest' which can lead to unexpected changes when the underlying runner image is updated, especially given that the project has been tested with a specific Python version (3.12). Most importantly, however, this ensures the CI runners' environment matches the CMG images. Signed-off-by: Phoevos Kalemkeris <phoevos.kalemkeris@ucl.ac.uk>
1 parent 75da327 commit 2528927

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci-base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
unit:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
timeout-minutes: 20
1515

1616
steps:
@@ -35,7 +35,7 @@ jobs:
3535
poetry run pytest tests/unit --ignore=tests/unit/client
3636
3737
integration:
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-24.04
3939
timeout-minutes: 120
4040

4141
steps:

.github/workflows/ci-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
unit:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
timeout-minutes: 10
1919
strategy:
2020
matrix:

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313

1414
jobs:
1515
build-and-push:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
timeout-minutes: 20
1818
if: |
1919
github.event_name == 'workflow_dispatch' ||

0 commit comments

Comments
 (0)