Skip to content

Commit

Permalink
Replaced version in all yml files with actions/checkout@v4 (#3072)
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Gupta <guptapratik02@gmail.com>
  • Loading branch information
GuptaPratik02 committed Sep 26, 2023
1 parent 7e0bad0 commit 018fa5b
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binaries-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- if: github.event_name == 'push'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
hvd_version: ${{ steps.set-versions.outputs.hvd_version }}
msdp_version: ${{ steps.set-versions.outputs.msdp_version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Changed Files Exporter
id: files
uses: futuratrepadeira/changed-files@v3.3.0
Expand All @@ -41,7 +41,7 @@ jobs:
if: contains(needs.setup.outputs.modified, 'hvd/') || contains(needs.setup.outputs.modified, 'docker.cfg')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove cache
run: |
sudo rm -rf "/usr/local/share/boost"
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
if: contains(needs.setup.outputs.modified, 'hvd/') || contains(needs.setup.outputs.modified, 'docker.cfg')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove cache
run: |
sudo rm -rf "/usr/local/share/boost"
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
if: contains(needs.setup.outputs.modified, 'main/') || contains(needs.setup.outputs.modified, 'docker.cfg')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove cache
run: |
sudo rm -rf "/usr/local/share/boost"
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
if: contains(needs.setup.outputs.modified, 'main/') || contains(needs.setup.outputs.modified, 'docker.cfg')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove cache
run: |
sudo rm -rf "/usr/local/share/boost"
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
if: contains(needs.setup.outputs.modified, 'msdp/') || contains(needs.setup.outputs.modified, 'docker.cfg')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove cache
run: |
sudo rm -rf "/usr/local/share/boost"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
# TODO
# TODO
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: (github.ref == 'refs/heads/master' && github.event_name == 'push') || github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
Expand All @@ -69,7 +69,7 @@ jobs:
if: github.event_name == 'pull_request' || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
Expand Down
4 changes: 2 additions & 2 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
4 changes: 2 additions & 2 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
2 changes: 1 addition & 1 deletion .github/workflows/hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
pytorch-channel: [pytorch]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get year & week number
id: get-date
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python-version: 3.10

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get year & week number
id: get-date
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
needs: build
if: always() && needs.build.result == 'failure'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: JasonEtco/create-an-issue@v2
name: Create issue if pytorch version tests failed
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release-anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
conda-build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v4
# with:
# python-version: 3.8
2 changes: 1 addition & 1 deletion .github/workflows/tpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
xla-version: [nightly]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
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 @@ -55,7 +55,7 @@ jobs:
skip-distrib-tests: 1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit 018fa5b

Please sign in to comment.