Skip to content

Commit d2ef96d

Browse files
committed
ci: explicitly tag all runners
#410 (comment)
1 parent ebe4ce3 commit d2ef96d

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/common_checks.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
os: [ ubuntu-latest, macos-latest, windows-latest ]
17+
os: [ ubuntu-22.04, macos-15, windows-2025 ]
1818
python-version: [ "3.10" ]
1919
poetry-version: ["1.8.0"]
2020

@@ -48,7 +48,7 @@ jobs:
4848

4949
strategy:
5050
matrix:
51-
os: [ ubuntu-latest ]
51+
os: [ ubuntu-22.04 ]
5252
python-version: [ "3.10" ]
5353

5454
timeout-minutes: 30
@@ -81,7 +81,7 @@ jobs:
8181

8282
strategy:
8383
matrix:
84-
os: [ ubuntu-latest ]
84+
os: [ ubuntu-22.04 ]
8585
python-version: [ "3.10" ]
8686

8787
timeout-minutes: 30
@@ -119,7 +119,7 @@ jobs:
119119
120120
scan:
121121
name: gitleaks
122-
runs-on: ubuntu-latest
122+
runs-on: ubuntu-22.04
123123
steps:
124124
- uses: actions/checkout@v3
125125
with:
@@ -140,7 +140,7 @@ jobs:
140140

141141
strategy:
142142
matrix:
143-
os: [ ubuntu-latest, macos-latest, windows-latest ]
143+
os: [ ubuntu-22.04, macos-15, windows-2025 ]
144144
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
145145

146146
timeout-minutes: 120
@@ -151,44 +151,44 @@ jobs:
151151
- uses: actions/setup-python@v4
152152
with:
153153
python-version: ${{ matrix.python-version }}
154-
- if: matrix.os == 'ubuntu-latest'
155-
name: Install dependencies (ubuntu-latest)
154+
- if: matrix.os == 'ubuntu-22.04'
155+
name: Install dependencies (ubuntu-22.04)
156156
run: |
157157
sudo apt-get update --fix-missing
158158
sudo apt-get autoremove
159159
sudo apt-get autoclean
160160
pip install tomte[tox]==0.6.2
161161
pip install --user --upgrade setuptools
162162
163-
- if: matrix.os == 'ubuntu-latest'
164-
name: Packages unit tests ubuntu-latest
163+
- if: matrix.os == 'ubuntu-22.04'
164+
name: Packages unit tests ubuntu-22.04
165165
run: |
166166
tox -e py${{ matrix.python-version }}-linux
167167
168-
- if: matrix.os == 'macos-latest'
169-
name: Install dependencies (macos-latest)
168+
- if: matrix.os == 'macos-15'
169+
name: Install dependencies (macos-15)
170170
run: |
171171
pip install tomte[tox]==0.6.2
172172
pip install --user --upgrade setuptools
173173
174-
- if: matrix.os == 'macos-latest'
175-
name: Packages unit tests macos-latest
174+
- if: matrix.os == 'macos-15'
175+
name: Packages unit tests macos-15
176176
run: |
177177
tox -e py${{ matrix.python-version }}-darwin
178178
179-
- if: matrix.os == 'windows-latest'
180-
name: Install dependencies (windows-latest)
179+
- if: matrix.os == 'windows-2025'
180+
name: Install dependencies (windows-2025)
181181
run: |
182182
python -m pip install -U pip
183183
pip install tomte[tox]==0.6.2
184184
pip install --upgrade setuptools
185185
186-
- if: matrix.os == 'windows-latest'
187-
name: Packages unit tests windows-latest
186+
- if: matrix.os == 'windows-2025'
187+
name: Packages unit tests windows-2025
188188
run: |
189189
tox -e py${{ matrix.python-version }}-win
190190
191-
- if: matrix.os == 'ubuntu-latest'
191+
- if: matrix.os == 'ubuntu-22.04'
192192
name: Upload coverage to Codecov
193193
uses: codecov/codecov-action@v1
194194
with:

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest]
13+
os: [ubuntu-22.04]
1414
python-version: ["3.10"]
1515
steps:
1616
- uses: actions/checkout@v3
@@ -34,7 +34,7 @@ jobs:
3434
- "publish-packages"
3535
strategy:
3636
matrix:
37-
os: [ubuntu-latest]
37+
os: [ubuntu-22.04]
3838
python-version: ["3.10"]
3939
env:
4040
DOCKER_USER: ${{secrets.DOCKER_USER}}
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: ${{ matrix.os }}
100100
strategy:
101101
matrix:
102-
os: [ubuntu-latest]
102+
os: [ubuntu-22.04]
103103
python-version: ["3.10"]
104104
env:
105105
CMD: "propel -U ${{ vars.PROPEL_BASE_URL }}"
@@ -156,7 +156,7 @@ jobs:
156156
runs-on: ${{ matrix.os }}
157157
strategy:
158158
matrix:
159-
os: [ubuntu-latest]
159+
os: [ubuntu-22.04]
160160
python-version: ["3.10"]
161161
env:
162162
CMD: "propel -U ${{ vars.PROPEL_BASE_URL }}"
@@ -213,7 +213,7 @@ jobs:
213213
runs-on: ${{ matrix.os }}
214214
strategy:
215215
matrix:
216-
os: [ubuntu-latest]
216+
os: [ubuntu-22.04]
217217
python-version: ["3.10"]
218218
env:
219219
CMD: "propel -U ${{ vars.PROPEL_BASE_URL }}"

0 commit comments

Comments
 (0)