From f68fb71005a9b50396008c9da10fb25730b06739 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Mon, 11 Nov 2024 15:09:11 -0500 Subject: [PATCH] update actions version for node16 deprecation (#2037) [skip ci] * update actions version for node16 deprecation * update pre-commit/action to use 3.0.1 for actions/cache@v4 dep * update docker/setup-buildx-action too to v3 --- .github/workflows/base.yml | 4 ++-- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 6 +++--- .github/workflows/main.yml | 4 ++-- .github/workflows/nightlies.yml | 2 +- .github/workflows/pypi.yml | 4 ++-- .github/workflows/tests-nightly.yml | 10 +++++----- .github/workflows/tests.yml | 10 +++++----- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 6dec90952d..f46e1769f7 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -44,7 +44,7 @@ jobs: torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX" steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker metadata id: metadata uses: docker/metadata-action@v5 @@ -58,7 +58,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build uses: docker/build-push-action@v4 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 16cf774d71..f471296d3a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 919cfd6545..8f1cfd981a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,9 +15,9 @@ jobs: name: pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: 'pip' # caching pip dependencies - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc7f566178..e0443e9120 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,7 +115,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build uses: docker/build-push-action@v5 with: @@ -159,7 +159,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml index fa53b15a41..cc1b6ea9f8 100644 --- a/.github/workflows/nightlies.yml +++ b/.github/workflows/nightlies.yml @@ -116,7 +116,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 194bcc2bd0..34d51b6137 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -17,10 +17,10 @@ jobs: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" diff --git a/.github/workflows/tests-nightly.yml b/.github/workflows/tests-nightly.yml index cba39b94e7..52c28e9198 100644 --- a/.github/workflows/tests-nightly.yml +++ b/.github/workflows/tests-nightly.yml @@ -9,12 +9,12 @@ jobs: name: pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: 'pip' # caching pip dependencies - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 env: SKIP: no-commit-to-branch @@ -30,10 +30,10 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} cache: 'pip' # caching pip dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8ced4188b7..a9ae718ff1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,12 +20,12 @@ jobs: name: pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: 'pip' # caching pip dependencies - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 env: SKIP: no-commit-to-branch @@ -41,10 +41,10 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} cache: 'pip' # caching pip dependencies