From 467bfa1cff56e558529749f1736b128f8b4e8912 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 27 Sep 2023 16:21:16 +0100 Subject: [PATCH] Update CodeQL versions tested in PR checks --- .github/workflows/__analyze-ref-input.yml | 18 ++++++++++++------ .github/workflows/__go-custom-queries.yml | 18 ++++++++++++------ .github/workflows/__go-tracing-autobuilder.yml | 12 ++++++++---- .../__go-tracing-custom-build-steps.yml | 12 ++++++++---- .../workflows/__go-tracing-legacy-workflow.yml | 12 ++++++++---- .github/workflows/__ml-powered-queries.yml | 18 ++++++++++++------ .../workflows/__multi-language-autodetect.yml | 12 ++++++++---- .github/workflows/__remote-config.yml | 18 ++++++++++++------ .github/workflows/__scaling-reserved-ram.yml | 14 +++++++++----- .github/workflows/__unset-environment.yml | 6 ++++-- .github/workflows/__upload-ref-sha-input.yml | 18 ++++++++++++------ .github/workflows/__with-checkout-path.yml | 18 ++++++++++++------ .github/workflows/debug-artifacts.yml | 5 +++-- pr-checks/sync.py | 8 +++++--- 14 files changed, 125 insertions(+), 64 deletions(-) diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index de2be434c..f43da3567 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 22f8385ce..cec901492 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index b9a87d0e6..79055cc91 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -41,6 +37,14 @@ jobs: version: stable-20230418 - os: macos-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 78104ddcd..96b34dc10 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -41,6 +37,14 @@ jobs: version: stable-20230418 - os: macos-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 40ac1d736..237e079c3 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -41,6 +37,14 @@ jobs: version: stable-20230418 - os: macos-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__ml-powered-queries.yml b/.github/workflows/__ml-powered-queries.yml index f8d21f881..15736462e 100644 --- a/.github/workflows/__ml-powered-queries.yml +++ b/.github/workflows/__ml-powered-queries.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index a8f0dc1b5..1a4d03d20 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -41,6 +37,14 @@ jobs: version: stable-20230418 - os: macos-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 3b98ddba7..e4869036a 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__scaling-reserved-ram.yml b/.github/workflows/__scaling-reserved-ram.yml index 5f73b24af..67833fcc8 100644 --- a/.github/workflows/__scaling-reserved-ram.yml +++ b/.github/workflows/__scaling-reserved-ram.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -36,11 +32,19 @@ jobs: - os: ubuntu-latest version: stable-20221211 - os: macos-latest - version: stable-20221211 + version: 1211 - os: ubuntu-latest version: stable-20230418 - os: macos-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 228fe0f17..697617e18 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -25,14 +25,16 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: ubuntu-latest version: stable-20221211 - os: ubuntu-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: ubuntu-latest diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index f6f9f1049..5adaffcb5 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index a0d1efc04..e15459fdd 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220615 - - os: macos-latest - version: stable-20220615 - - os: windows-latest - version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: macos-latest @@ -49,6 +43,18 @@ jobs: version: stable-20230418 - os: windows-latest version: stable-20230418 + - os: ubuntu-latest + version: stable-v2.13.5 + - os: macos-latest + version: stable-v2.13.5 + - os: windows-latest + version: stable-v2.13.5 + - os: ubuntu-latest + version: stable-v2.14.6 + - os: macos-latest + version: stable-v2.14.6 + - os: windows-latest + version: stable-v2.14.6 - os: ubuntu-latest version: default - os: macos-latest diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 8e5d974f5..82054bac3 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -25,10 +25,11 @@ jobs: - ubuntu-latest - macos-latest version: - - stable-20220615 - stable-20220908 - stable-20221211 - stable-20230418 + - stable-v2.13.5 + - stable-v2.14.6 - default - latest - nightly-latest @@ -74,7 +75,7 @@ jobs: - name: Check expected artifacts exist shell: bash run: | - VERSIONS="stable-20220615 stable-20220908 stable-20221211 stable-20230418 default latest nightly-latest" + VERSIONS="stable-20220908 stable-20221211 stable-20230418 stable-v2.13.5 stable-v2.14.6 default latest nightly-latest" LANGUAGES="cpp csharp go java javascript python" for version in $VERSIONS; do for os in ubuntu-latest macos-latest; do diff --git a/pr-checks/sync.py b/pr-checks/sync.py index ee8055605..995705d2a 100644 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -5,14 +5,16 @@ # The default set of CodeQL Bundle versions to use for the PR checks. defaultTestVersions = [ - # The oldest supported CodeQL version: 2.9.4. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts` - "stable-20220615", - # The last CodeQL release in the 2.10 series: 2.10.5. + # The oldest supported CodeQL version: 2.10.5. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts` "stable-20220908", # The last CodeQL release in the 2.11 series: 2.11.6. "stable-20221211", # The last CodeQL release in the 2.12 series: 2.12.7. "stable-20230418", + # The last CodeQL release in the 2.13 series: 2.13.5. + "stable-v2.13.5", + # The last CodeQL release in the 2.14 series: 2.14.6. + "stable-v2.14.6", # The default version of CodeQL for Dotcom, as determined by feature flags. "default", # The version of CodeQL shipped with the Action in `defaults.json`. During the release process