Skip to content

Commit

Permalink
Try to update actions/checkout and codecov/codecov-action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored Mar 31, 2024
1 parent 0dfeabe commit 61217db
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gpu-hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mps-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61217db

Please sign in to comment.