Skip to content

Commit

Permalink
Update node16 actions (#267)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
trxcllnt authored Apr 16, 2024
1 parent 90c88a9 commit 68aa522
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/actions/devcontainer-json/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/feature-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/get-pr-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/image-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/install-devcontainers-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/actions/setup-runner-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ 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
run: docker context create builder

- 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
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-and-push-linux-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-and-push-windows-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 68aa522

Please sign in to comment.