Skip to content

Commit 871cb64

Browse files
committed
Use specific version of Ubuntu (24.04) in CI
Instead of using the ubuntu-latest runner, use the specifc version 24.04. This allows better control and is not updated, without our knowledge.
1 parent 56991c9 commit 871cb64

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ ubuntu-latest ]
23+
os: [ ubuntu-24.04 ]
2424
python-version: [ '3.11' ]
2525
runs-on: ${{ matrix.os }}
2626
continue-on-error: true
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
os: [ ubuntu-latest, macos-13, macos-14, macos-15, windows-latest ]
57+
os: [ ubuntu-24.04, macos-13, macos-14, macos-15, windows-latest ]
5858
python-version: [ '3.11' ]
5959
runs-on: ${{ matrix.os }}
6060

@@ -88,19 +88,19 @@ jobs:
8888

8989
- name: Build wheel
9090
id: build-wheel
91-
if: matrix.os == 'ubuntu-latest'
91+
if: matrix.os == 'ubuntu-24.04'
9292
run: |
9393
python3 -m build
9494
9595
- name: Upload wheel as artifact
96-
if: matrix.os == 'ubuntu-latest'
96+
if: matrix.os == 'ubuntu-24.04'
9797
uses: actions/upload-artifact@v4
9898
with:
9999
name: dist
100100
path: dist/
101101

102102
- name: Upload notebooks and demo files as artifacts
103-
if: matrix.os == 'ubuntu-latest'
103+
if: matrix.os == 'ubuntu-24.04'
104104
uses: actions/upload-artifact@v4
105105
with:
106106
name: demos_usage
@@ -112,7 +112,7 @@ jobs:
112112
strategy:
113113
fail-fast: false
114114
matrix:
115-
os: [ ubuntu-latest, macos-13, macos-14, macos-15, windows-latest ]
115+
os: [ ubuntu-24.04, macos-13, macos-14, macos-15, windows-latest ]
116116
python-version: [ '3.11', '3.12' , '3.13']
117117
runs-on: ${{ matrix.os }}
118118

@@ -161,7 +161,7 @@ jobs:
161161
strategy:
162162
fail-fast: false
163163
matrix:
164-
os: [ ubuntu-latest ]
164+
os: [ ubuntu-24.04 ]
165165
python-version: [ '3.11' ]
166166
runs-on: ${{ matrix.os }}
167167

0 commit comments

Comments
 (0)