From 68aa522cd7be290f055fbee933e6a2e81d7c778d Mon Sep 17 00:00:00 2001 From: Paul Taylor <178183+trxcllnt@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:36:53 -0700 Subject: [PATCH] Update node16 actions (#267) * update node16 actions * update node-version from 16 to 20 * update actions/github-script and tj-actions/changed-files * update config -> buildkitd-config * update docker/setup-qemu-action --- .github/actions/devcontainer-json/action.yml | 4 ++-- .github/actions/feature-matrix/action.yml | 2 +- .github/actions/get-pr-info/action.yml | 2 +- .github/actions/image-matrix/action.yml | 2 +- .github/actions/install-devcontainers-cli/action.yml | 4 ++-- .github/actions/setup-runner-env/action.yml | 12 ++++++------ .github/workflows/build-and-test-feature.yml | 2 +- .../workflows/build-test-and-push-linux-image.yml | 4 ++-- .../workflows/build-test-and-push-windows-image.yml | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/actions/devcontainer-json/action.yml b/.github/actions/devcontainer-json/action.yml index 43bcd4e6..e8d0f909 100644 --- a/.github/actions/devcontainer-json/action.yml +++ b/.github/actions/devcontainer-json/action.yml @@ -23,9 +23,9 @@ runs: - if: runner.environment == 'self-hosted' name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - id: json name: Make image/.devcontainer/devcontainer.json diff --git a/.github/actions/feature-matrix/action.yml b/.github/actions/feature-matrix/action.yml index f5985506..0f864747 100644 --- a/.github/actions/feature-matrix/action.yml +++ b/.github/actions/feature-matrix/action.yml @@ -24,7 +24,7 @@ runs: - name: Check if files changed if: inputs.full_matrix != 'true' id: changes - uses: tj-actions/changed-files@v35.4.4 + uses: tj-actions/changed-files@v44.0.1 with: base_sha: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.sha }} files: | diff --git a/.github/actions/get-pr-info/action.yml b/.github/actions/get-pr-info/action.yml index 5b5aa285..737380bd 100644 --- a/.github/actions/get-pr-info/action.yml +++ b/.github/actions/get-pr-info/action.yml @@ -13,7 +13,7 @@ outputs: runs: using: "composite" steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 id: get-pull-request with: retries: 3 diff --git a/.github/actions/image-matrix/action.yml b/.github/actions/image-matrix/action.yml index 256f37b1..372202a4 100644 --- a/.github/actions/image-matrix/action.yml +++ b/.github/actions/image-matrix/action.yml @@ -30,7 +30,7 @@ runs: - name: Check if files changed if: inputs.full_matrix != 'true' id: changes - uses: tj-actions/changed-files@v35.4.4 + uses: tj-actions/changed-files@v44.0.1 with: base_sha: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.sha }} files: | diff --git a/.github/actions/install-devcontainers-cli/action.yml b/.github/actions/install-devcontainers-cli/action.yml index 37d89ba6..09b67248 100644 --- a/.github/actions/install-devcontainers-cli/action.yml +++ b/.github/actions/install-devcontainers-cli/action.yml @@ -6,9 +6,9 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - name: Install devcontainers CLI shell: bash run: | diff --git a/.github/actions/setup-runner-env/action.yml b/.github/actions/setup-runner-env/action.yml index 25ee831d..a6ede0d2 100644 --- a/.github/actions/setup-runner-env/action.yml +++ b/.github/actions/setup-runner-env/action.yml @@ -26,13 +26,13 @@ runs: - if: runner.environment == 'self-hosted' name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - if: runner.environment != 'self-hosted' name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Create docker context shell: bash @@ -40,15 +40,15 @@ runs: - if: runner.environment != 'self-hosted' name: Setup docker buildx on github-hosted runners - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: --debug endpoint: builder - if: runner.environment == 'self-hosted' name: Setup docker buildx on self-hosted runners - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: --debug --config /etc/buildkit/buildkitd.toml endpoint: builder - config: /etc/buildkit/buildkitd.toml + buildkitd-config: /etc/buildkit/buildkitd.toml diff --git a/.github/workflows/build-and-test-feature.yml b/.github/workflows/build-and-test-feature.yml index 33868d1f..6fd8fda1 100644 --- a/.github/workflows/build-and-test-feature.yml +++ b/.github/workflows/build-and-test-feature.yml @@ -26,7 +26,7 @@ jobs: persist-credentials: false - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.GPUCIBOT_DOCKERHUB_USER }} password: ${{ secrets.GPUCIBOT_DOCKERHUB_TOKEN }} diff --git a/.github/workflows/build-test-and-push-linux-image.yml b/.github/workflows/build-test-and-push-linux-image.yml index e2bd6a9c..a2951954 100644 --- a/.github/workflows/build-test-and-push-linux-image.yml +++ b/.github/workflows/build-test-and-push-linux-image.yml @@ -52,7 +52,7 @@ jobs: container_env: "${{ inputs.container_env }}" - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.GPUCIBOT_DOCKERHUB_USER }} password: ${{ secrets.GPUCIBOT_DOCKERHUB_TOKEN }} @@ -113,7 +113,7 @@ jobs: path: ${{ runner.temp }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.GPUCIBOT_DOCKERHUB_USER }} password: ${{ secrets.GPUCIBOT_DOCKERHUB_TOKEN }} diff --git a/.github/workflows/build-test-and-push-windows-image.yml b/.github/workflows/build-test-and-push-windows-image.yml index b89f9c4b..20729835 100644 --- a/.github/workflows/build-test-and-push-windows-image.yml +++ b/.github/workflows/build-test-and-push-windows-image.yml @@ -59,7 +59,7 @@ jobs: EOF - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.GPUCIBOT_DOCKERHUB_USER }} password: ${{ secrets.GPUCIBOT_DOCKERHUB_TOKEN }}