Skip to content

Commit 49d05f2

Browse files
vstinnerhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent e6e0953 commit 49d05f2

13 files changed

Lines changed: 17 additions & 17 deletions

.github/workflows/add-issue-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
add-header:
20-
runs-on: ubuntu-26.04
20+
runs-on: ubuntu-slim
2121
permissions:
2222
issues: write
2323
timeout-minutes: 5

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ jobs:
568568

569569
cross-build-linux:
570570
name: Cross build Linux
571-
runs-on: ubuntu-26.04
571+
runs-on: ubuntu-latest
572572
timeout-minutes: 60
573573
needs: build-context
574574
if: needs.build-context.outputs.run-ubuntu == 'true'
@@ -650,7 +650,7 @@ jobs:
650650

651651
all-required-green: # This job does nothing and is only used for the branch protection
652652
name: All required checks pass
653-
runs-on: ubuntu-26.04
653+
runs-on: ubuntu-latest
654654
timeout-minutes: 5
655655
needs:
656656
- build-context # Transitive dependency, needed to access `run-tests` value

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
lint:
18-
runs-on: ubuntu-26.04
18+
runs-on: ubuntu-latest
1919
timeout-minutes: 10
2020

2121
steps:

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ concurrency:
4949
jobs:
5050
mypy:
5151
name: Run mypy on ${{ matrix.target }}
52-
runs-on: ubuntu-26.04
52+
runs-on: ubuntu-latest
5353
timeout-minutes: 10
5454
strategy:
5555
fail-fast: false

.github/workflows/require-pr-label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
label-dnm:
1212
name: DO-NOT-MERGE
1313
if: github.repository_owner == 'python'
14-
runs-on: ubuntu-26.04
14+
runs-on: ubuntu-slim
1515
permissions:
1616
pull-requests: read
1717
timeout-minutes: 10
@@ -28,7 +28,7 @@ jobs:
2828
label-reviews:
2929
name: Unresolved review
3030
if: github.repository_owner == 'python'
31-
runs-on: ubuntu-26.04
31+
runs-on: ubuntu-slim
3232
permissions:
3333
pull-requests: read
3434
timeout-minutes: 10

.github/workflows/reusable-check-c-api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
check-c-api-docs:
1414
name: 'Check if all C APIs are documented'
15-
runs-on: ubuntu-26.04
15+
runs-on: ubuntu-latest
1616
timeout-minutes: 5
1717
steps:
1818
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

.github/workflows/reusable-check-html-ids.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
check-html-ids:
1414
name: 'Check for removed HTML IDs'
15-
runs-on: ubuntu-26.04
15+
runs-on: ubuntu-latest
1616
timeout-minutes: 30
1717
steps:
1818
- name: 'Check out PR head'

.github/workflows/reusable-cifuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
cifuzz:
2121
name: ${{ inputs.oss-fuzz-project-name }} (${{ inputs.sanitizer }})
22-
runs-on: ubuntu-26.04
22+
runs-on: ubuntu-latest
2323
timeout-minutes: 60
2424
steps:
2525
- name: Build fuzzers (${{ inputs.sanitizer }})

.github/workflows/reusable-context.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ permissions:
6060
jobs:
6161
compute-changes:
6262
name: Create context from changed files
63-
runs-on: ubuntu-26.04
63+
runs-on: ubuntu-latest
6464
timeout-minutes: 10
6565
outputs:
6666
run-android: ${{ steps.changes.outputs.run-android }}

.github/workflows/reusable-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
build-doc:
1919
name: 'Docs'
20-
runs-on: ubuntu-26.04
20+
runs-on: ubuntu-latest
2121
timeout-minutes: 60
2222
env:
2323
branch_base: 'origin/${{ github.event.pull_request.base.ref }}'
@@ -95,7 +95,7 @@ jobs:
9595
# Run "doctest" on HEAD as new syntax doesn't exist in the latest stable release
9696
doctest:
9797
name: 'Doctest'
98-
runs-on: ubuntu-26.04
98+
runs-on: ubuntu-latest
9999
timeout-minutes: 60
100100
steps:
101101
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -121,7 +121,7 @@ jobs:
121121

122122
check-epub:
123123
name: 'Check EPUB'
124-
runs-on: ubuntu-26.04
124+
runs-on: ubuntu-latest
125125
timeout-minutes: 30
126126
steps:
127127
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

0 commit comments

Comments
 (0)