Skip to content

Commit a98976d

Browse files
authored
Update ubuntu-20.04 to ubuntu-latest in workflows (#1104)
1 parent 841cdd1 commit a98976d

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/assemble-distro.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ concurrency:
3333
jobs:
3434
assemble:
3535
name: "Assemble the package distribution"
36-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@v4
3939

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626
jobs:
2727
detect-changes:
2828
name: "Detect affected packages"
29-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-latest
3030
if: ${{ !contains( github.event.pull_request.labels.*.name, 'skip tests') }}
3131
outputs:
3232
modified: ${{ steps.modified.outputs.modified }}
@@ -102,7 +102,7 @@ jobs:
102102

103103
status-comment:
104104
name: "Create or update PR comment"
105-
runs-on: ubuntu-20.04
105+
runs-on: ubuntu-latest
106106
needs: test-all-master # TODO: also handle test-all-release
107107
if: always()
108108
steps:

.github/workflows/scan-for-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
jobs:
2525
scan-for-updates:
2626
name: "Scan for package updates"
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-latest
2828
outputs:
2929
matrix: ${{ steps.get-names.outputs.matrix }}
3030
steps:
@@ -113,7 +113,7 @@ jobs:
113113
name: "Create pull request for ${{ matrix.package_or_group }}"
114114
if: ${{ needs.scan-for-updates.outputs.matrix != '{"package_or_group":[]}' }}
115115
needs: scan-for-updates
116-
runs-on: ubuntu-20.04
116+
runs-on: ubuntu-latest
117117
strategy:
118118
fail-fast: false
119119
matrix: ${{ fromJSON(needs.scan-for-updates.outputs.matrix) }}

.github/workflows/test-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
# If you change this name, you must adjust the corresponding name
7070
# in tools/generate_test_status.py
7171
name: "Build GAP and packages"
72-
runs-on: ubuntu-20.04
72+
runs-on: ubuntu-latest
7373
outputs:
7474
matrix: ${{ steps.get-names.outputs.matrix }}
7575
artifact: ${{ steps.get-artifact-name.outputs.artifact }}
@@ -247,7 +247,7 @@ jobs:
247247
name: "${{ matrix.package }}"
248248
if: ${{ needs.build.outputs.matrix != '{"package":[]}' }}
249249
needs: build
250-
runs-on: ubuntu-20.04
250+
runs-on: ubuntu-latest
251251
strategy:
252252
fail-fast: false
253253
matrix: ${{ fromJSON(needs.build.outputs.matrix) }}
@@ -355,7 +355,7 @@ jobs:
355355
name: "Generate report"
356356
needs: [build, test-package]
357357
if: always()
358-
runs-on: ubuntu-20.04
358+
runs-on: ubuntu-latest
359359
outputs:
360360
test-status: ${{ steps.test-status.outputs.test-status }}
361361
steps:

.github/workflows/tools-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
py311:
2222
name: "Run tests"
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
2626

.github/workflows/update-latest-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
jobs:
2929
update-latest:
3030
name: "Upload report"
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-latest
3232
steps:
3333
- name: "Set up Python"
3434
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)