diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index d7a8ab9c9..9fe3b1afd 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -23,7 +23,7 @@ jobs: name: CPU Pytest benchmark runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.8 @@ -75,7 +75,7 @@ jobs: - name: Check ldd --version run: ldd --version - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup diff --git a/.github/workflows/benchmarks_pr.yml b/.github/workflows/benchmarks_pr.yml index 5f5cf7e5b..9f5e856c8 100644 --- a/.github/workflows/benchmarks_pr.yml +++ b/.github/workflows/benchmarks_pr.yml @@ -20,7 +20,7 @@ jobs: run: | echo "Action triggered by ${{ github.event.pull_request.html_url }}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup @@ -82,7 +82,7 @@ jobs: - name: Check ldd --version run: ldd --version - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 75861eb17..a8386fa77 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -45,7 +45,7 @@ jobs: container: pytorch/manylinux-cuda121 steps: - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 env: AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache" - name: Install PyTorch nightly @@ -69,7 +69,7 @@ jobs: python3 -mpip install auditwheel auditwheel show dist/* - name: Upload wheel for the test-wheel job - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: dist/*.whl @@ -92,9 +92,9 @@ jobs: container: pytorch/manylinux-${{ matrix.cuda_support[2] }} steps: - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download built wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: /tmp/wheels @@ -128,14 +128,14 @@ jobs: cuda_support: [["", "cpu", "cpu"]] steps: - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python_version[0] }} architecture: x64 env: AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache" - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install PyTorch Nightly run: | export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" @@ -149,7 +149,7 @@ jobs: export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" python3 -mpip install numpy pytest pillow>=4.1.1 scipy networkx expecttest pyyaml - name: Download built wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: tensordict-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl path: /tmp/wheels @@ -196,7 +196,7 @@ jobs: with: python-version: ${{ matrix.python_version[1] }} - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install PyTorch nightly shell: bash run: | @@ -235,7 +235,7 @@ jobs: with: python-version: ${{ matrix.python_version[1] }} - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install PyTorch Nightly shell: bash run: | @@ -249,7 +249,7 @@ jobs: run: | python3 -mpip install numpy pytest --no-cache-dir - name: Download built wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: tensordict-win-${{ matrix.python_version[0] }}.whl path: wheels @@ -291,9 +291,9 @@ jobs: ] steps: - name: Checkout tensordict - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download built wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: tensordict-win-${{ matrix.python_version[0] }}.whl path: wheels