From 7c60ff7ad613a2b7343e904aa3a84286f637fc74 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Thu, 2 Nov 2023 07:49:59 -0700 Subject: [PATCH] Use setup-python@v4 --- .github/workflows/__all-platform-bundle.yml | 2 +- .github/workflows/__analyze-ref-input.yml | 2 +- .github/workflows/__autobuild-action.yml | 2 +- .github/workflows/__config-export.yml | 2 +- .github/workflows/__cpp-deptrace-disabled.yml | 2 +- .github/workflows/__cpp-deptrace-enabled-on-macos.yml | 2 +- .github/workflows/__cpp-deptrace-enabled.yml | 2 +- .github/workflows/__diagnostics-export.yml | 2 +- .github/workflows/__export-file-baseline-information.yml | 2 +- .github/workflows/__extractor-ram-threads.yml | 2 +- .github/workflows/__go-custom-queries.yml | 2 +- .../workflows/__go-indirect-tracing-workaround-diagnostic.yml | 2 +- .github/workflows/__go-indirect-tracing-workaround.yml | 2 +- .github/workflows/__go-tracing-autobuilder.yml | 2 +- .github/workflows/__go-tracing-custom-build-steps.yml | 2 +- .github/workflows/__go-tracing-legacy-workflow.yml | 2 +- .github/workflows/__init-with-registries.yml | 2 +- .github/workflows/__javascript-source-root.yml | 2 +- .github/workflows/__language-aliases.yml | 2 +- .github/workflows/__multi-language-autodetect.yml | 2 +- .github/workflows/__packaging-codescanning-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-inputs-js.yml | 2 +- .github/workflows/__packaging-config-js.yml | 2 +- .github/workflows/__packaging-inputs-js.yml | 2 +- .github/workflows/__remote-config.yml | 2 +- .github/workflows/__resolve-environment-action.yml | 2 +- .github/workflows/__rubocop-multi-language.yml | 2 +- .github/workflows/__ruby.yml | 2 +- .github/workflows/__scaling-reserved-ram.yml | 2 +- .github/workflows/__split-workflow.yml | 2 +- .github/workflows/__submit-sarif-failure.yml | 2 +- .github/workflows/__swift-custom-build.yml | 2 +- .github/workflows/__test-autobuild-working-dir.yml | 2 +- .github/workflows/__test-local-codeql.yml | 2 +- .github/workflows/__test-proxy.yml | 2 +- .github/workflows/__unset-environment.yml | 2 +- .github/workflows/__upload-ref-sha-input.yml | 2 +- .github/workflows/__with-checkout-path.yml | 2 +- .github/workflows/pr-checks.yml | 2 +- .github/workflows/python-deps.yml | 2 +- pr-checks/sync.py | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml index 5a2db5625..bdeec0d73 100644 --- a/.github/workflows/__all-platform-bundle.yml +++ b/.github/workflows/__all-platform-bundle.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index eead1edde..b6a8e7345 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 9f4cf1605..505fe9cb6 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 8d111ce17..ed8222be6 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml index 983ae6c04..926d5937d 100644 --- a/.github/workflows/__cpp-deptrace-disabled.yml +++ b/.github/workflows/__cpp-deptrace-disabled.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml index 32bd138c1..d7b44159e 100644 --- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml +++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml index 19d7cef52..4eb4a3b8c 100644 --- a/.github/workflows/__cpp-deptrace-enabled.yml +++ b/.github/workflows/__cpp-deptrace-enabled.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index d7072c606..bfae8d205 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 06b93da30..441832e74 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index 20df6d1a3..002d54b8f 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index adf03f67a..1c675864c 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -81,7 +81,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml index 1522881ad..159b7ef69 100644 --- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml +++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml index 1076c2d65..0fed7975e 100644 --- a/.github/workflows/__go-indirect-tracing-workaround.yml +++ b/.github/workflows/__go-indirect-tracing-workaround.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 9cdb7184b..1637f9fff 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -65,7 +65,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index acf9eb667..1e8a1793c 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -65,7 +65,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index d06fcbef9..c492f73f4 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -65,7 +65,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 6a580dc49..519903727 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -52,7 +52,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index 56eceb4d3..d97ea8fa5 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml index 2aaf05188..ad09ba50f 100644 --- a/.github/workflows/__language-aliases.yml +++ b/.github/workflows/__language-aliases.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 3fa96bb15..3f0abc055 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -65,7 +65,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index f272f5313..5f6df119e 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 59ea70198..301ed9364 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 4e8e89048..1ad522c4c 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 13032b4e6..70107fbcc 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -51,7 +51,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index d67c3fdd8..2fe580d64 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -81,7 +81,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml index 927f8c1a9..cd09e77e7 100644 --- a/.github/workflows/__resolve-environment-action.yml +++ b/.github/workflows/__resolve-environment-action.yml @@ -57,7 +57,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index b2aa10bb9..5212739e7 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index 8692d4d5e..494ea3c97 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__scaling-reserved-ram.yml b/.github/workflows/__scaling-reserved-ram.yml index d3e26b45d..a05bf4fe4 100644 --- a/.github/workflows/__scaling-reserved-ram.yml +++ b/.github/workflows/__scaling-reserved-ram.yml @@ -65,7 +65,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index 95a7e5559..2a1de694c 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 433a870ec..6e0547ce5 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index 4be1c7662..f7e46a896 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -45,7 +45,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 352be8bf1..bb3313795 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index dbef478e7..dbe401e8c 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index 3c3672355..aefaaf630 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 424de0f24..fa0583f4a 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -49,7 +49,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 6ec170e93..a0823442c 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index cb939874e..1f266eee4 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -81,7 +81,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: >- matrix.os == 'macos-latest' && ( diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index e79e87611..508f3292a 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -70,7 +70,7 @@ jobs: steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: | matrix.os == 'macos-latest' && ( matrix.version == 'stable-20220908' || diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index c5be7ae3e..540194a02 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Setup Python on MacOS - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: | matrix.os == 'macos-latest' && ( matrix.version == 'stable-20220908' || diff --git a/pr-checks/sync.py b/pr-checks/sync.py index c6ce24576..3b9f69202 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -76,7 +76,7 @@ def writeHeader(checkStream): steps = [ { 'name': 'Setup Python on MacOS', - 'uses': 'actions/setup-python@v2', + 'uses': 'actions/setup-python@v4', # Ensure that this is serialized as a folded (`>`) string to preserve the readability # of the generated workflow. 'if': FoldedScalarString(textwrap.dedent('''