Skip to content

Commit 285ff72

Browse files
authored
Merge pull request #13152 from notatallshaw/ubuntu-22.04
Switch to ubuntu-22.04 for github workflow
2 parents ffbf6f0 + c93a9c0 commit 285ff72

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
docs:
2727
name: docs
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-22.04
2929

3030
steps:
3131
- uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
3636
- run: nox -s docs
3737

3838
determine-changes:
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-22.04
4040
outputs:
4141
tests: ${{ steps.filter.outputs.tests }}
4242
vendoring: ${{ steps.filter.outputs.vendoring }}
@@ -64,7 +64,7 @@ jobs:
6464

6565
packaging:
6666
name: packaging
67-
runs-on: ubuntu-latest
67+
runs-on: ubuntu-22.04
6868

6969
steps:
7070
- uses: actions/checkout@v4
@@ -83,7 +83,7 @@ jobs:
8383

8484
vendoring:
8585
name: vendoring
86-
runs-on: ubuntu-latest
86+
runs-on: ubuntu-22.04
8787

8888
needs: [determine-changes]
8989
if: >-
@@ -112,7 +112,7 @@ jobs:
112112
strategy:
113113
fail-fast: true
114114
matrix:
115-
os: [ubuntu-latest, macos-13, macos-latest]
115+
os: [ubuntu-22.04, macos-13, macos-latest]
116116
python:
117117
- "3.8"
118118
- "3.9"
@@ -129,7 +129,7 @@ jobs:
129129
allow-prereleases: true
130130

131131
- name: Install Ubuntu dependencies
132-
if: matrix.os == 'ubuntu-latest'
132+
if: matrix.os == 'ubuntu-22.04'
133133
run: |
134134
sudo apt-get update
135135
sudo apt-get install bzr
@@ -216,7 +216,7 @@ jobs:
216216
217217
tests-zipapp:
218218
name: tests / zipapp
219-
runs-on: ubuntu-latest
219+
runs-on: ubuntu-22.04
220220

221221
needs: [packaging, determine-changes]
222222
if: >-
@@ -257,7 +257,7 @@ jobs:
257257
- tests-zipapp
258258
- vendoring
259259

260-
runs-on: ubuntu-latest
260+
runs-on: ubuntu-22.04
261261

262262
steps:
263263
- name: Decide whether the needed jobs succeeded or failed

news/13152.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Switch to ubuntu-22.04 for github workflow.

0 commit comments

Comments
 (0)