Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] Update action versions #5877

Merged
merged 12 commits into from
Nov 14, 2024
4 changes: 2 additions & 2 deletions .github/actions/bc-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -78,4 +78,4 @@ runs:
run: |
rm -rf _repo
rm -rf _test-infra
shell: bash
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-binary-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-build-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/trigger-nightly/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: ${{ inputs.repository }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/update-commit-hash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/update-viablestrict/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_binary_conda_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_binary_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_prune-anaconda-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_upload_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backfill-workflow-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_conda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_conda_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_conda_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clang-tidy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clickhouse-replicator-dynamo-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clickhouse-replicator-s3-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_binary_build_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Checkout test-infra repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.test-infra-repository }}
ref: ${{ inputs.test-infra-ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_docker_release_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Checkout test-infra repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.test-infra-repository }}
ref: ${{ inputs.test-infra-ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_release_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Checkout test-infra repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ inputs.test-infra-repository }}
ref: ${{ inputs.test-infra-ref }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gha-artifacts-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-status-test-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-do-release-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
REF: ${{ inputs.tag }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.tag }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-release-tag-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-runner-binaries-syncer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/lambda-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/lambda-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading
Loading