From 9d71344a03094f6327d1ea04543a938bcdbc322b Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Thu, 7 Nov 2024 11:24:54 -0800 Subject: [PATCH] And more of those --- .github/actions/bc-lint/action.yml | 4 ++-- .github/actions/setup-binary-builds/action.yml | 2 +- .github/actions/setup-binary-upload/action.yml | 4 ++-- .github/actions/setup-build-test/action.yml | 2 +- .github/actions/trigger-nightly/action.yml | 2 +- .github/actions/update-commit-hash/action.yml | 6 +++--- .github/actions/update-viablestrict/action.yml | 4 ++-- .github/workflows/_binary_conda_upload.yml | 2 +- .github/workflows/_binary_upload.yml | 2 +- .github/workflows/_prune-anaconda-packages.yml | 2 +- .github/workflows/_upload_docs.yml | 2 +- .github/workflows/backfill-workflow-job.yml | 2 +- .github/workflows/build_conda_macos.yml | 2 +- .github/workflows/build_conda_windows.yml | 2 +- .github/workflows/build_wheels_linux.yml | 2 +- .github/workflows/build_wheels_macos.yml | 2 +- .github/workflows/build_wheels_windows.yml | 2 +- .github/workflows/check-alerts.yml | 4 ++-- .github/workflows/clang-tidy-linux.yml | 2 +- .github/workflows/clang-tidy-macos.yml | 4 ++-- .github/workflows/clickhouse-replicator-dynamo-lambda.yml | 4 ++-- .github/workflows/clickhouse-replicator-s3-lambda.yml | 4 ++-- .github/workflows/gha-artifacts-lambda.yml | 8 ++++---- .github/workflows/github-status-test-lambda.yml | 4 ++-- .github/workflows/lambda-do-release-runners.yml | 2 +- .github/workflows/lambda-release-tag-runners.yml | 2 +- .github/workflows/lambda-runner-binaries-syncer.yml | 2 +- .github/workflows/lambda-runners.yml | 2 +- .github/workflows/lambda-webhook.yml | 2 +- .github/workflows/mobile_job.yml | 2 +- .github/workflows/opensearch-gha-jobs-lambda.yml | 8 ++++---- .github/workflows/push-rockset-query-lambda-tags.yml | 2 +- .github/workflows/revert-tracker.yml | 4 ++-- .github/workflows/rockset_autoscale.yml | 4 ++-- .github/workflows/rockset_delete_old_lambda_versions.yml | 2 +- .github/workflows/scale_config_validation.yml | 2 +- .github/workflows/servicelab-ingestor-lambda.yml | 4 ++-- .github/workflows/sync_pytorch_canary.yml | 2 +- .github/workflows/test-binary-size-validation.yml | 2 +- .github/workflows/test-setup-miniconda.yml | 2 +- .github/workflows/test-setup-nvidia.yml | 2 +- .github/workflows/test-setup-ssh.yml | 6 +++--- .github/workflows/test_upload_benchmark_results.yml | 2 +- .github/workflows/tflint.yml | 2 +- .github/workflows/torchci.yml | 4 ++-- .github/workflows/trigger_nightly.yml | 2 +- .github/workflows/trigger_nightly_core.yml | 2 +- .github/workflows/update-drci-comments.yml | 2 +- .github/workflows/update-queue-times.yml | 2 +- .github/workflows/update-s3-html.yml | 2 +- .github/workflows/update-test-times.yml | 2 +- .github/workflows/update_disabled_tests.yml | 2 +- .github/workflows/update_test_file_ratings.yml | 4 ++-- .github/workflows/upload-tutorials-stats.yml | 4 ++-- .github/workflows/usage-log-aggregator-lambda.yml | 8 ++++---- .github/workflows/windows_job.yml | 4 ++-- 56 files changed, 84 insertions(+), 84 deletions(-) diff --git a/.github/actions/bc-lint/action.yml b/.github/actions/bc-lint/action.yml index aa1c99d133..cd29985164 100644 --- a/.github/actions/bc-lint/action.yml +++ b/.github/actions/bc-lint/action.yml @@ -23,7 +23,7 @@ runs: using: 'composite' steps: - name: Checkout pytorch/test-infra repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pytorch/test-infra path: _test-infra @@ -78,4 +78,4 @@ runs: run: | rm -rf _repo rm -rf _test-infra - shell: bash \ No newline at end of file + shell: bash diff --git a/.github/actions/setup-binary-builds/action.yml b/.github/actions/setup-binary-builds/action.yml index 5fda4c7f57..52fbf36a20 100644 --- a/.github/actions/setup-binary-builds/action.yml +++ b/.github/actions/setup-binary-builds/action.yml @@ -51,7 +51,7 @@ runs: run: | set -euxo pipefail rm -rf "${REPOSITORY}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} diff --git a/.github/actions/setup-binary-upload/action.yml b/.github/actions/setup-binary-upload/action.yml index 5e24159b4c..cd90e56c50 100644 --- a/.github/actions/setup-binary-upload/action.yml +++ b/.github/actions/setup-binary-upload/action.yml @@ -33,7 +33,7 @@ inputs: runs: using: composite steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' cache: pip @@ -54,7 +54,7 @@ runs: echo "ARTIFACT_NAME=${REPOSITORY/\//_}_${REF}_${PYTHON_VERSION}_${CU_VERSION}_${ARCH}" >> "${GITHUB_ENV}" # Need to checkout the target repository to run pkg-helpers - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} diff --git a/.github/actions/setup-build-test/action.yml b/.github/actions/setup-build-test/action.yml index 713254bc9c..a27ef00eb2 100644 --- a/.github/actions/setup-build-test/action.yml +++ b/.github/actions/setup-build-test/action.yml @@ -33,7 +33,7 @@ runs: REPOSITORY: ${{ inputs.repository || github.repository }} run: | rm -rf "${REPOSITORY}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.repository || github.repository }} ref: ${{ inputs.ref || github.ref }} diff --git a/.github/actions/trigger-nightly/action.yml b/.github/actions/trigger-nightly/action.yml index 2d8b9ec533..5ed407aeac 100644 --- a/.github/actions/trigger-nightly/action.yml +++ b/.github/actions/trigger-nightly/action.yml @@ -19,7 +19,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} repository: ${{ inputs.repository }} diff --git a/.github/actions/update-commit-hash/action.yml b/.github/actions/update-commit-hash/action.yml index 6e825c4e24..298f849a74 100644 --- a/.github/actions/update-commit-hash/action.yml +++ b/.github/actions/update-commit-hash/action.yml @@ -42,14 +42,14 @@ runs: using: composite steps: - name: Checkout the source repo with the pinned commit file - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'main' submodules: true token: ${{ inputs.updatebot-token }} - name: Checkout test-infra for the update_commit_hashes scripts - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.test-infra-repository }} ref: ${{ inputs.test-infra-ref }} @@ -60,7 +60,7 @@ runs: run: | git clone https://github.com/${{ inputs.repo-owner }}/${{ inputs.repo-name }}.git --quiet - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' cache: pip diff --git a/.github/actions/update-viablestrict/action.yml b/.github/actions/update-viablestrict/action.yml index c3c320b888..43e2e3f907 100644 --- a/.github/actions/update-viablestrict/action.yml +++ b/.github/actions/update-viablestrict/action.yml @@ -59,11 +59,11 @@ outputs: runs: using: composite steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.repository }} token: ${{ inputs.secret-bot-token }} diff --git a/.github/workflows/_binary_conda_upload.yml b/.github/workflows/_binary_conda_upload.yml index ae241f108b..3def46395d 100644 --- a/.github/workflows/_binary_conda_upload.yml +++ b/.github/workflows/_binary_conda_upload.yml @@ -45,7 +45,7 @@ jobs: timeout-minutes: 30 name: ${{ matrix.build_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.test-infra-repository }} ref: ${{ inputs.test-infra-ref }} diff --git a/.github/workflows/_binary_upload.yml b/.github/workflows/_binary_upload.yml index 5fe7458a27..ece5991aa8 100644 --- a/.github/workflows/_binary_upload.yml +++ b/.github/workflows/_binary_upload.yml @@ -51,7 +51,7 @@ jobs: timeout-minutes: 30 name: ${{ matrix.build_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ inputs.test-infra-repository }} ref: ${{ inputs.test-infra-ref }} diff --git a/.github/workflows/_prune-anaconda-packages.yml b/.github/workflows/_prune-anaconda-packages.yml index dfa60d71cc..8c42ba89cd 100644 --- a/.github/workflows/_prune-anaconda-packages.yml +++ b/.github/workflows/_prune-anaconda-packages.yml @@ -23,7 +23,7 @@ jobs: image: continuumio/miniconda3:4.12.0 steps: - name: Checkout repository test-infra - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pytorch/test-infra ref: ${{ github.ref }} diff --git a/.github/workflows/_upload_docs.yml b/.github/workflows/_upload_docs.yml index a99aaf5cf8..8fbfcb54a6 100644 --- a/.github/workflows/_upload_docs.yml +++ b/.github/workflows/_upload_docs.yml @@ -26,7 +26,7 @@ jobs: if: github.repository == ${{ inputs.repository }} && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.docs-branch }} persist-credentials: true diff --git a/.github/workflows/backfill-workflow-job.yml b/.github/workflows/backfill-workflow-job.yml index 602a4c2b52..e1deaed454 100644 --- a/.github/workflows/backfill-workflow-job.yml +++ b/.github/workflows/backfill-workflow-job.yml @@ -21,7 +21,7 @@ jobs: with: role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_backfill-workflow-job aws-region: us-east-1 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - run: yarn node scripts/backfillJobs.mjs env: diff --git a/.github/workflows/build_conda_macos.yml b/.github/workflows/build_conda_macos.yml index 1c7bb6bf65..19d3a1efc2 100644 --- a/.github/workflows/build_conda_macos.yml +++ b/.github/workflows/build_conda_macos.yml @@ -100,7 +100,7 @@ jobs: rm -rfv "${GITHUB_WORKSPACE}" mkdir -p "${GITHUB_WORKSPACE}" echo "::endgroup::" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} diff --git a/.github/workflows/build_conda_windows.yml b/.github/workflows/build_conda_windows.yml index ab28180ee3..e8fa18c0c2 100644 --- a/.github/workflows/build_conda_windows.yml +++ b/.github/workflows/build_conda_windows.yml @@ -92,7 +92,7 @@ jobs: # to have a conversation timeout-minutes: ${{ inputs.timeout }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 4d3ebbd16e..2813ef1e19 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -143,7 +143,7 @@ jobs: fi echo "::endgroup::" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index daae8df61c..7a61bba130 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -117,7 +117,7 @@ jobs: rm -rfv "${GITHUB_WORKSPACE}" mkdir -p "${GITHUB_WORKSPACE}" echo "::endgroup::" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} diff --git a/.github/workflows/build_wheels_windows.yml b/.github/workflows/build_wheels_windows.yml index 335e683c0b..7dd9118dca 100644 --- a/.github/workflows/build_wheels_windows.yml +++ b/.github/workflows/build_wheels_windows.yml @@ -94,7 +94,7 @@ jobs: # to have a conversation timeout-minutes: ${{ inputs.timeout }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} diff --git a/.github/workflows/check-alerts.yml b/.github/workflows/check-alerts.yml index b5884511e6..e2cf33318d 100644 --- a/.github/workflows/check-alerts.yml +++ b/.github/workflows/check-alerts.yml @@ -41,7 +41,7 @@ jobs: issues: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Dependencies run: pip3 install requests setuptools==61.2.0 - name: Check for alerts and creates issue @@ -61,7 +61,7 @@ jobs: issues: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Dependencies run: pip3 install requests setuptools==61.2.0 rockset==1.0.3 - name: Check for alerts and creates issue diff --git a/.github/workflows/clang-tidy-linux.yml b/.github/workflows/clang-tidy-linux.yml index 2e4733d276..32c000d3ea 100644 --- a/.github/workflows/clang-tidy-linux.yml +++ b/.github/workflows/clang-tidy-linux.yml @@ -19,7 +19,7 @@ jobs: runs-on: linux.12xlarge steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build docker image run: | set -ex diff --git a/.github/workflows/clang-tidy-macos.yml b/.github/workflows/clang-tidy-macos.yml index bc80c1edb7..d61a55aa9d 100644 --- a/.github/workflows/clang-tidy-macos.yml +++ b/.github/workflows/clang-tidy-macos.yml @@ -21,7 +21,7 @@ jobs: runs-on: macos-12-xl steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: | brew install ninja @@ -64,7 +64,7 @@ jobs: runs-on: macos-m1-stable steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: | brew install ninja cmake diff --git a/.github/workflows/clickhouse-replicator-dynamo-lambda.yml b/.github/workflows/clickhouse-replicator-dynamo-lambda.yml index 19cc6026d2..674ae2472c 100644 --- a/.github/workflows/clickhouse-replicator-dynamo-lambda.yml +++ b/.github/workflows/clickhouse-replicator-dynamo-lambda.yml @@ -19,8 +19,8 @@ jobs: id-token: write contents: read steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip diff --git a/.github/workflows/clickhouse-replicator-s3-lambda.yml b/.github/workflows/clickhouse-replicator-s3-lambda.yml index 41a834ef2a..1c1bac6e02 100644 --- a/.github/workflows/clickhouse-replicator-s3-lambda.yml +++ b/.github/workflows/clickhouse-replicator-s3-lambda.yml @@ -19,8 +19,8 @@ jobs: id-token: write contents: read steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip diff --git a/.github/workflows/gha-artifacts-lambda.yml b/.github/workflows/gha-artifacts-lambda.yml index 9d9f8b8c9e..f8504cd055 100644 --- a/.github/workflows/gha-artifacts-lambda.yml +++ b/.github/workflows/gha-artifacts-lambda.yml @@ -24,8 +24,8 @@ jobs: test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip @@ -36,8 +36,8 @@ jobs: runs-on: ubuntu-22.04 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip diff --git a/.github/workflows/github-status-test-lambda.yml b/.github/workflows/github-status-test-lambda.yml index 09db636f4a..6242d90dbb 100644 --- a/.github/workflows/github-status-test-lambda.yml +++ b/.github/workflows/github-status-test-lambda.yml @@ -31,10 +31,10 @@ jobs: aws-region: us-east-1 - name: Check out test infra - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - uses: nick-fields/retry@3e91a01664abd3c5cd539100d10d33b9c5b68482 name: Setup dependencies diff --git a/.github/workflows/lambda-do-release-runners.yml b/.github/workflows/lambda-do-release-runners.yml index 0bf64904c5..e8fce51790 100644 --- a/.github/workflows/lambda-do-release-runners.yml +++ b/.github/workflows/lambda-do-release-runners.yml @@ -19,7 +19,7 @@ jobs: REF: ${{ inputs.tag }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.tag }} diff --git a/.github/workflows/lambda-release-tag-runners.yml b/.github/workflows/lambda-release-tag-runners.yml index 65c3a9574d..d34264aa47 100644 --- a/.github/workflows/lambda-release-tag-runners.yml +++ b/.github/workflows/lambda-release-tag-runners.yml @@ -17,7 +17,7 @@ jobs: date: ${{ steps.date.outputs.date }} steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get current date id: date diff --git a/.github/workflows/lambda-runner-binaries-syncer.yml b/.github/workflows/lambda-runner-binaries-syncer.yml index 57cea6f3e0..218e44a3d5 100644 --- a/.github/workflows/lambda-runner-binaries-syncer.yml +++ b/.github/workflows/lambda-runner-binaries-syncer.yml @@ -18,6 +18,6 @@ jobs: working-directory: terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build, Lint, and Test run: make build diff --git a/.github/workflows/lambda-runners.yml b/.github/workflows/lambda-runners.yml index 65005778c5..186c274a2f 100644 --- a/.github/workflows/lambda-runners.yml +++ b/.github/workflows/lambda-runners.yml @@ -18,6 +18,6 @@ jobs: working-directory: terraform-aws-github-runner/modules/runners/lambdas/runners steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build, Lint, and Test run: make build diff --git a/.github/workflows/lambda-webhook.yml b/.github/workflows/lambda-webhook.yml index 5019a87572..45e6b0fa61 100644 --- a/.github/workflows/lambda-webhook.yml +++ b/.github/workflows/lambda-webhook.yml @@ -18,6 +18,6 @@ jobs: working-directory: terraform-aws-github-runner/modules/webhook/lambdas/webhook steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build, Lint, and Test run: make build diff --git a/.github/workflows/mobile_job.yml b/.github/workflows/mobile_job.yml index b3dfd0c24a..b1b5a8979d 100644 --- a/.github/workflows/mobile_job.yml +++ b/.github/workflows/mobile_job.yml @@ -125,7 +125,7 @@ jobs: aws-region: us-east-1 - name: Checkout repository (${{ inputs.test-infra-repository }}@${{ inputs.test-infra-ref }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.test-infra-repository }} ref: ${{ inputs.test-infra-ref }} diff --git a/.github/workflows/opensearch-gha-jobs-lambda.yml b/.github/workflows/opensearch-gha-jobs-lambda.yml index 7e664bed9f..5ce7f579f3 100644 --- a/.github/workflows/opensearch-gha-jobs-lambda.yml +++ b/.github/workflows/opensearch-gha-jobs-lambda.yml @@ -19,8 +19,8 @@ jobs: test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' cache: pip @@ -35,8 +35,8 @@ jobs: id-token: write contents: read steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' cache: pip diff --git a/.github/workflows/push-rockset-query-lambda-tags.yml b/.github/workflows/push-rockset-query-lambda-tags.yml index c3575a895a..81ba781181 100644 --- a/.github/workflows/push-rockset-query-lambda-tags.yml +++ b/.github/workflows/push-rockset-query-lambda-tags.yml @@ -15,7 +15,7 @@ jobs: push-rockset-tags: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - run: yarn node scripts/pushRocksetTags.mjs env: diff --git a/.github/workflows/revert-tracker.yml b/.github/workflows/revert-tracker.yml index 4bac9906aa..d192408206 100644 --- a/.github/workflows/revert-tracker.yml +++ b/.github/workflows/revert-tracker.yml @@ -13,11 +13,11 @@ jobs: contents: write steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: test-infra - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pytorch/pytorch path: pytorch diff --git a/.github/workflows/rockset_autoscale.yml b/.github/workflows/rockset_autoscale.yml index 9111e94c15..ee9e34a85d 100644 --- a/.github/workflows/rockset_autoscale.yml +++ b/.github/workflows/rockset_autoscale.yml @@ -17,10 +17,10 @@ jobs: if: ${{ github.repository == 'pytorch/test-infra' }} steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' architecture: x64 diff --git a/.github/workflows/rockset_delete_old_lambda_versions.yml b/.github/workflows/rockset_delete_old_lambda_versions.yml index 9df8a7b267..e182877b91 100644 --- a/.github/workflows/rockset_delete_old_lambda_versions.yml +++ b/.github/workflows/rockset_delete_old_lambda_versions.yml @@ -14,7 +14,7 @@ jobs: delete-old-query-lambda-versions: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - run: yarn node scripts/deleteOldQueryLambdaVersions.mjs env: diff --git a/.github/workflows/scale_config_validation.yml b/.github/workflows/scale_config_validation.yml index 25dc77e51b..3410ea0e92 100644 --- a/.github/workflows/scale_config_validation.yml +++ b/.github/workflows/scale_config_validation.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/servicelab-ingestor-lambda.yml b/.github/workflows/servicelab-ingestor-lambda.yml index fc02376905..e7d5efc7dd 100644 --- a/.github/workflows/servicelab-ingestor-lambda.yml +++ b/.github/workflows/servicelab-ingestor-lambda.yml @@ -19,8 +19,8 @@ jobs: id-token: write contents: read steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip diff --git a/.github/workflows/sync_pytorch_canary.yml b/.github/workflows/sync_pytorch_canary.yml index d48a09248e..1a8bf730ce 100644 --- a/.github/workflows/sync_pytorch_canary.yml +++ b/.github/workflows/sync_pytorch_canary.yml @@ -25,7 +25,7 @@ jobs: echo "$PYTORCH_CANARY_SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - name: Clone pytorch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'pytorch/pytorch' ref: ${{ matrix.ref }} diff --git a/.github/workflows/test-binary-size-validation.yml b/.github/workflows/test-binary-size-validation.yml index 78536dd789..743ef826c8 100644 --- a/.github/workflows/test-binary-size-validation.yml +++ b/.github/workflows/test-binary-size-validation.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install requirements run: | pip3 install -r tools/binary_size_validation/requirements.txt diff --git a/.github/workflows/test-setup-miniconda.yml b/.github/workflows/test-setup-miniconda.yml index 0e6347dad5..fc0ca6f9c0 100644 --- a/.github/workflows/test-setup-miniconda.yml +++ b/.github/workflows/test-setup-miniconda.yml @@ -34,7 +34,7 @@ jobs: env: PYTHON_VERSION: ${{ matrix.python-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get disk space usage and throw an error for low disk space uses: ./.github/actions/check-disk-space diff --git a/.github/workflows/test-setup-nvidia.yml b/.github/workflows/test-setup-nvidia.yml index 565063d09c..b11307feb8 100644 --- a/.github/workflows/test-setup-nvidia.yml +++ b/.github/workflows/test-setup-nvidia.yml @@ -20,7 +20,7 @@ jobs: runs-on: ${{ matrix.runner-type }} timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test that setup-nvidia works uses: ./.github/actions/setup-nvidia diff --git a/.github/workflows/test-setup-ssh.yml b/.github/workflows/test-setup-ssh.yml index d09e9befb3..9345e2e0ef 100644 --- a/.github/workflows/test-setup-ssh.yml +++ b/.github/workflows/test-setup-ssh.yml @@ -12,7 +12,7 @@ jobs: build: # make sure build/ci work properly runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | cd setup-ssh yarn install @@ -22,7 +22,7 @@ jobs: test-linux: # make sure the action works on a clean machine without building runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-ssh name: Check if can write keys with: @@ -50,7 +50,7 @@ jobs: test-windows: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-ssh name: Check if can write keys with: diff --git a/.github/workflows/test_upload_benchmark_results.yml b/.github/workflows/test_upload_benchmark_results.yml index ca96ee53a2..f53d0e9995 100644 --- a/.github/workflows/test_upload_benchmark_results.yml +++ b/.github/workflows/test_upload_benchmark_results.yml @@ -11,7 +11,7 @@ jobs: test: runs-on: linux.2xlarge steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test upload the benchmark results (v2) uses: ./.github/actions/upload-benchmark-results diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index 7b55cd0c94..11cae1953d 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -15,7 +15,7 @@ jobs: container: node:20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 name: Checkout source code - uses: terraform-linters/setup-tflint@v4 diff --git a/.github/workflows/torchci.yml b/.github/workflows/torchci.yml index 58d92354b4..fb3089bac3 100644 --- a/.github/workflows/torchci.yml +++ b/.github/workflows/torchci.yml @@ -16,7 +16,7 @@ jobs: run: working-directory: torchci steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - run: yarn lint - name: yarn prettier --check . @@ -34,7 +34,7 @@ jobs: run: working-directory: tools/torchci steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | pip3 install --upgrade pip pip3 install -r requirements.txt diff --git a/.github/workflows/trigger_nightly.yml b/.github/workflows/trigger_nightly.yml index 7492accb2f..0c91704f5a 100644 --- a/.github/workflows/trigger_nightly.yml +++ b/.github/workflows/trigger_nightly.yml @@ -29,7 +29,7 @@ jobs: environment: trigger-nightly timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Trigger nightly audio build if: ${{ github.event_name == 'schedule' || inputs.domain == 'audio' || inputs.domain == 'all' }} uses: ./.github/actions/trigger-nightly diff --git a/.github/workflows/trigger_nightly_core.yml b/.github/workflows/trigger_nightly_core.yml index 322da7e2f7..d42b09dd45 100644 --- a/.github/workflows/trigger_nightly_core.yml +++ b/.github/workflows/trigger_nightly_core.yml @@ -12,7 +12,7 @@ jobs: environment: trigger-nightly timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Trigger nightly core build uses: ./.github/actions/trigger-nightly with: diff --git a/.github/workflows/update-drci-comments.yml b/.github/workflows/update-drci-comments.yml index bd515a7007..6ac8ed870b 100644 --- a/.github/workflows/update-drci-comments.yml +++ b/.github/workflows/update-drci-comments.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Retrieve rockset query results and update Dr. CI comments for the PyTorch repo run: | diff --git a/.github/workflows/update-queue-times.yml b/.github/workflows/update-queue-times.yml index ecf6870144..07e43061aa 100644 --- a/.github/workflows/update-queue-times.yml +++ b/.github/workflows/update-queue-times.yml @@ -15,7 +15,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install --frozen-lockfile - name: configure aws credentials id: aws_creds diff --git a/.github/workflows/update-s3-html.yml b/.github/workflows/update-s3-html.yml index 5b1661e9c3..0507ef7c24 100644 --- a/.github/workflows/update-s3-html.yml +++ b/.github/workflows/update-s3-html.yml @@ -28,7 +28,7 @@ jobs: role-to-assume: arn:aws:iam::749337293305:role/gha_workflow_s3_update aws-region: us-east-1 - name: Checkout repository test-infra - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pytorch/test-infra ref: ${{ github.ref }} diff --git a/.github/workflows/update-test-times.yml b/.github/workflows/update-test-times.yml index 87888c638f..6ad73aa30a 100644 --- a/.github/workflows/update-test-times.yml +++ b/.github/workflows/update-test-times.yml @@ -21,7 +21,7 @@ jobs: update-test-time-stats: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up python 3.10 uses: actions/setup-python@v5 diff --git a/.github/workflows/update_disabled_tests.yml b/.github/workflows/update_disabled_tests.yml index 54bb593dd7..8476ac0ab9 100644 --- a/.github/workflows/update_disabled_tests.yml +++ b/.github/workflows/update_disabled_tests.yml @@ -20,7 +20,7 @@ jobs: environment: trigger-nightly steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate new disabled tests and jobs jsons env: diff --git a/.github/workflows/update_test_file_ratings.yml b/.github/workflows/update_test_file_ratings.yml index af267409b4..ed493fd490 100644 --- a/.github/workflows/update_test_file_ratings.yml +++ b/.github/workflows/update_test_file_ratings.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pytorch/test-infra - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: test-infra - name: Checkout pytorch/pytorch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pytorch/pytorch path: pytorch diff --git a/.github/workflows/upload-tutorials-stats.yml b/.github/workflows/upload-tutorials-stats.yml index aee90f88e1..da13a8dd50 100644 --- a/.github/workflows/upload-tutorials-stats.yml +++ b/.github/workflows/upload-tutorials-stats.yml @@ -26,14 +26,14 @@ jobs: aws-region: us-east-1 - name: Checkout the tutorials repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'pytorch/tutorials' path: './tutorials' fetch-depth: 0 - name: Checkout the test-infra repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: test-infra diff --git a/.github/workflows/usage-log-aggregator-lambda.yml b/.github/workflows/usage-log-aggregator-lambda.yml index dbe82d2d5d..fc6c34fd1c 100644 --- a/.github/workflows/usage-log-aggregator-lambda.yml +++ b/.github/workflows/usage-log-aggregator-lambda.yml @@ -20,8 +20,8 @@ jobs: test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip @@ -36,8 +36,8 @@ jobs: contents: read if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index d5e03c0000..d5a8c47940 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -98,7 +98,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (${{ inputs.test-infra-repository }}@${{ inputs.test-infra-ref }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.test-infra-repository }} @@ -114,7 +114,7 @@ jobs: github-secret: ${{ github.token }} - name: Checkout repository (${{ inputs.repository || github.repository }}@${{ inputs.ref }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ inputs.repository || github.repository }}