From 61217db597101248dfbb1b0166c47f6ac58102eb Mon Sep 17 00:00:00 2001 From: vfdev Date: Sun, 31 Mar 2024 22:14:15 +0200 Subject: [PATCH] Try to update actions/checkout and codecov/codecov-action to v4 --- .github/workflows/docker-build.yml | 16 ++++++++-------- .github/workflows/gpu-hvd-tests.yml | 6 +++--- .github/workflows/gpu-tests.yml | 6 +++--- .github/workflows/hvd-tests.yml | 2 +- .github/workflows/mps-tests.yml | 6 +++--- .github/workflows/tpu-tests.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index aadccaafb33..72eba358370 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -66,7 +66,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -76,7 +76,7 @@ jobs: uses: ./test-infra/.github/actions/setup-linux - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -126,7 +126,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -136,7 +136,7 @@ jobs: uses: ./test-infra/.github/actions/setup-linux - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -186,7 +186,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -196,7 +196,7 @@ jobs: uses: ./test-infra/.github/actions/setup-linux - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -246,7 +246,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -256,7 +256,7 @@ jobs: uses: ./test-infra/.github/actions/setup-linux - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} diff --git a/.github/workflows/gpu-hvd-tests.yml b/.github/workflows/gpu-hvd-tests.yml index 6661f46b501..5a8cb35dd00 100644 --- a/.github/workflows/gpu-hvd-tests.yml +++ b/.github/workflows/gpu-hvd-tests.yml @@ -40,7 +40,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -55,7 +55,7 @@ jobs: docker-image: ${{ env.DOCKER_IMAGE }} - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -160,7 +160,7 @@ jobs: docker exec -t pthd /bin/bash -c "${script}" - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ${{ github.repository }}/coverage.xml flags: gpu-2 diff --git a/.github/workflows/gpu-tests.yml b/.github/workflows/gpu-tests.yml index 92345b3baed..4e903134509 100644 --- a/.github/workflows/gpu-tests.yml +++ b/.github/workflows/gpu-tests.yml @@ -40,7 +40,7 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra @@ -55,7 +55,7 @@ jobs: docker-image: ${{ env.DOCKER_IMAGE }} - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -135,7 +135,7 @@ jobs: docker exec -t pthd /bin/bash -c "${script}" - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ${{ github.repository }}/coverage.xml flags: gpu-2 diff --git a/.github/workflows/hvd-tests.yml b/.github/workflows/hvd-tests.yml index f483d21f38e..815e20bf1fa 100644 --- a/.github/workflows/hvd-tests.yml +++ b/.github/workflows/hvd-tests.yml @@ -80,7 +80,7 @@ jobs: bash tests/run_cpu_tests.sh - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: hvd-cpu diff --git a/.github/workflows/mps-tests.yml b/.github/workflows/mps-tests.yml index 4cdd01f5a21..c616c124736 100644 --- a/.github/workflows/mps-tests.yml +++ b/.github/workflows/mps-tests.yml @@ -50,14 +50,14 @@ jobs: echo "::endgroup::" - name: Checkout repository (pytorch/test-infra) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: pytorch/test-infra path: test-infra - name: Checkout repository (${{ github.repository }}) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Support the use case where we need to checkout someone's fork repository: ${{ github.repository }} @@ -121,7 +121,7 @@ jobs: SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ${{ github.repository }}/coverage.xml flags: mps diff --git a/.github/workflows/tpu-tests.yml b/.github/workflows/tpu-tests.yml index 6eb9397a772..ef501a99dc7 100644 --- a/.github/workflows/tpu-tests.yml +++ b/.github/workflows/tpu-tests.yml @@ -92,7 +92,7 @@ jobs: bash tests/run_tpu_tests.sh - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: tpu diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a4b69725569..835c19b7f4d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -124,7 +124,7 @@ jobs: SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: cpu