diff --git a/.github/workflows/_build_test_upload.yml b/.github/workflows/_build_test_upload.yml index b5df9142b..b3a57b69e 100644 --- a/.github/workflows/_build_test_upload.yml +++ b/.github/workflows/_build_test_upload.yml @@ -68,13 +68,13 @@ jobs: python-version: pure steps: - name: Checkout Source Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} submodules: recursive - name: Setup Python ${{ matrix.python-version }} for Windows if: ${{ startsWith( matrix.os, 'windows' ) }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Add temp runner environment variables @@ -167,7 +167,7 @@ jobs: aws-region: us-east-1 - name: Download Artifacts from Github continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: torchdata-artifact - name: Determine if Wheel Uploading is needed @@ -216,11 +216,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} submodules: recursive diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 06bcef7cd..fc7f6bcf5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: Check out source repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install lint utilities run: | pip install pre-commit @@ -43,11 +43,11 @@ jobs: echo "value=$PT_CHANNEL" >> $GITHUB_OUTPUT id: pytorch_channel - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Check out source repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PyTorch run: | pip3 install networkx @@ -79,10 +79,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: Check out source repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check if documentation is complete run: python ./.github/scripts/check_complete_doc.py