diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 0cb012a4e..5a2db5625 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index f9022da79..eead1edde 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 381c9399f..9f4cf1605 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 465122f09..8d111ce17 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -46,7 +46,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 7f34c4153..983ae6c04 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index 7097a2201..32bd138c1 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index 442343d6e..19d7cef52 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index bbd263f9c..d7072c606 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -52,7 +52,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index b03b90536..06b93da30 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 79b703877..20df6d1a3 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index 78435a8b9..adf03f67a 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -82,7 +82,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 13758aee6..1522881ad 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index b19994b8e..1076c2d65 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index e309d90fe..9cdb7184b 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -66,7 +66,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 5a29230c6..acf9eb667 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -66,7 +66,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index fd84780ea..d06fcbef9 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -66,7 +66,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 8d5343bb3..6a580dc49 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -53,7 +53,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 089b628c0..56eceb4d3 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index 775ef5c11..2aaf05188 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 9f5b4bd9b..3fa96bb15 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -66,7 +66,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 927cad027..f272f5313 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -52,7 +52,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 07e41e840..59ea70198 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -52,7 +52,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index c273fa279..4e8e89048 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -52,7 +52,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index af9d5d9e9..13032b4e6 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -52,7 +52,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index 8b1808c4e..d67c3fdd8 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -82,7 +82,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 1eaa74e82..927f8c1a9 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -58,7 +58,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index 8621c92db..b2aa10bb9 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 75077f375..8692d4d5e 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -46,7 +46,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__scaling-reserved-ram.yml b/.github/workflows/__scaling-reserved-ram.yml index 9ce7ff84c..d3e26b45d 100644 --- a/.github/workflows/__scaling-reserved-ram.yml +++ b/.github/workflows/__scaling-reserved-ram.yml @@ -66,7 +66,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index 377ca0a4c..95a7e5559 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -46,7 +46,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index e106643a2..433a870ec 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index 62f360cfc..4be1c7662 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -46,7 +46,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 2c64ea022..352be8bf1 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 67ecdbc4a..dbef478e7 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index c7cfac42a..3c3672355 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -36,7 +36,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index f6ad992d3..424de0f24 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -50,7 +50,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 10b89a077..6ec170e93 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -40,7 +40,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index 1e2df2312..cb939874e 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -82,7 +82,18 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: >- + matrix.os == 'macos-latest' && ( + + matrix.version == 'stable-20220908' || + + matrix.version == 'stable-20221211' || + + matrix.version == 'stable-20230418' || + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' - name: Check out repository diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 9d2eaefe0..e79e87611 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -71,7 +71,13 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index 95f89ad7b..c5be7ae3e 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -38,7 +38,13 @@ jobs: steps: - name: Setup Python on MacOS uses: actions/setup-python@v2 - if: matrix.os == 'macos-latest' + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') with: python-version: '3.11' diff --git a/pr-checks/sync.py b/pr-checks/sync.py index e226b5f0c..c6ce24576 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -77,7 +77,16 @@ def writeHeader(checkStream): { 'name': 'Setup Python on MacOS', 'uses': 'actions/setup-python@v2', - 'if': 'matrix.os == \'macos-latest\'', + # Ensure that this is serialized as a folded (`>`) string to preserve the readability + # of the generated workflow. + 'if': FoldedScalarString(textwrap.dedent(''' + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') + ''').strip()), 'with': { 'python-version': '3.11' }