Skip to content

Commit 083451b

Browse files
committed
Standardize on Ubuntu 22.04
By pinning the Action runner OS version we will prevent workflow failures caused by changes in newer versions.
1 parent 6c30501 commit 083451b

17 files changed

+26
-26
lines changed

.github/workflows/code-scanning-pack-gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
prepare-code-scanning-pack-matrix:
2323
name: Prepare CodeQL Code Scanning pack matrix
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
outputs:
2626
matrix: ${{ steps.export-code-scanning-pack-matrix.outputs.matrix }}
2727
steps:

.github/workflows/codeql_unit_tests.yml

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

1818
prepare-unit-test-matrix:
1919
name: Prepare CodeQL unit test matrix
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
outputs:
2222
matrix: ${{ steps.export-unit-test-matrix.outputs.matrix }}
2323
steps:
@@ -160,7 +160,7 @@ jobs:
160160
validate-test-results:
161161
name: Validate test results
162162
needs: run-test-suites
163-
runs-on: ubuntu-latest
163+
runs-on: ubuntu-22.04
164164
steps:
165165
- name: Collect test results
166166
uses: actions/download-artifact@v3

.github/workflows/dispatch-matrix-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
dispatch-matrix-check:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414

1515
- name: Test Variables

.github/workflows/dispatch-matrix-test-on-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
dispatch-matrix-check:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616

1717
- name: Test Variables

.github/workflows/dispatch-release-performance-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
dispatch-matrix-check:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
steps:
1515

1616
- name: Test Variables

.github/workflows/finalize-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
finalize-release:
1717
if: (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event_name == 'workflow_dispatch'
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Determine ref
2121
env:

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pull-request-head-sha: ${{ steps.determine-pr-head-sha.outputs.pull-request-head-sha }}
2828
name: "Prepare release"
2929
if: github.event_name == 'workflow_dispatch'
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-22.04
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v3

.github/workflows/tooling-unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
prepare-supported-codeql-env-matrix:
1818
name: Prepare supported CodeQL environment matrix
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-22.04
2020
outputs:
2121
matrix: ${{ steps.export-supported-codeql-env-matrix.outputs.matrix }}
2222
steps:
@@ -33,7 +33,7 @@ jobs:
3333
analysis-report-tests:
3434
name: Run analysis report tests
3535
needs: prepare-supported-codeql-env-matrix
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
3737
strategy:
3838
fail-fast: false
3939
matrix: ${{ fromJSON(needs.prepare-supported-codeql-env-matrix.outputs.matrix) }}
@@ -79,7 +79,7 @@ jobs:
7979
8080
recategorization-tests:
8181
name: Run Guideline Recategorization tests
82-
runs-on: ubuntu-latest
82+
runs-on: ubuntu-22.04
8383
steps:
8484
- name: Checkout
8585
uses: actions/checkout@v2

.github/workflows/update-check-run.yml

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

4343
jobs:
4444
update-check-run:
45-
runs-on: ubuntu-latest
45+
runs-on: ubuntu-22.04
4646
steps:
4747
- name: Update check run
4848
env:

.github/workflows/update-release-status.yml

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

2323
jobs:
2424
validate-check-runs:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-22.04
2626
outputs:
2727
status: ${{ steps.set-output.outputs.status }}
2828
check-run-head-sha: ${{ steps.set-output.outputs.check-run-head-sha }}

0 commit comments

Comments
 (0)