Skip to content

Commit ae186ca

Browse files
committed
Update GitHub Actions to Node 24-compatible versions
GitHub is deprecating Node 20 on Actions runners (June 16, 2026). Upgrade all action versions to their Node 24-compatible releases: - actions/checkout v3 → v6 - actions/setup-go v3 → v5 - docker/setup-qemu-action v2 → v4 - docker/setup-buildx-action v2 → v4 - docker/build-push-action v3 → v7 - docker/login-action v2 → v4 - redhat-actions/try-in-web-ide v1 → v1.4 Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stephane Bouchet <sbouchet@redhat.com>
1 parent 33a8c8e commit ae186ca

8 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Set up Go 1.25
20-
uses: actions/setup-go@v3
20+
uses: actions/setup-go@v5
2121
with:
2222
go-version: 1.25.7
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v6
2525
with:
2626
persist-credentials: false
2727
- name: Submit code coverage results

.github/workflows/dependencies-md-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Checkout source code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v6
2121
- name: DEPENDENCIES.md file validator.
2222
uses: che-incubator/dependencies-license-action@0.0.2
2323
env:

.github/workflows/gh_actions_pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Checkout che-machine-exec source code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v6
2222
- name: Set up QEMU
23-
uses: docker/setup-qemu-action@v2
23+
uses: docker/setup-qemu-action@v4
2424
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v2
25+
uses: docker/setup-buildx-action@v4
2626
- name: Check docker build
27-
uses: docker/build-push-action@v3
27+
uses: docker/build-push-action@v7
2828
with:
2929
file: build/dockerfiles/Dockerfile
3030
platforms: linux/amd64,linux/arm64

.github/workflows/gh_actions_unit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Checkout che-machine-exec source code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v6
2222
- name: Build che-machine-exec binary
2323
run: CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags '-w -s' -a -installsuffix cgo -o che-machine-exec .
2424
- name: Run unit tests

.github/workflows/license.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- name: Set up Go 1.25
22-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: 1.25.7
2525
- name: Checkout repo
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v6
2727
- name: Check Eclipse license headers
2828
run: |
2929
go install github.com/che-incubator/check-license-header@379ba18fdb906d341ae451ea155cc34f1c4b4f1a

.github/workflows/next-build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-22.04
2323
steps:
2424
- name: Checkout che-machine-exec source code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v6
2626
- name: Set up QEMU
27-
uses: docker/setup-qemu-action@v2
27+
uses: docker/setup-qemu-action@v4
2828
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v2
29+
uses: docker/setup-buildx-action@v4
3030
- name: Login to quay.io
31-
uses: docker/login-action@v2
31+
uses: docker/login-action@v4
3232
with:
3333
username: ${{ secrets.QUAY_USERNAME }}
3434
password: ${{ secrets.QUAY_PASSWORD }}
@@ -37,7 +37,7 @@ jobs:
3737
shell: bash
3838
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3939
- name: Build and push both short SHA tag and next tag
40-
uses: docker/build-push-action@v3
40+
uses: docker/build-push-action@v7
4141
with:
4242
file: build/dockerfiles/Dockerfile
4343
platforms: linux/amd64,linux/arm64

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-22.04
3333
steps:
3434
- name: Checkout code
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v6
3636
with:
3737
fetch-depth: 0
3838
- name: Check existing tags
@@ -53,21 +53,21 @@ jobs:
5353
echo "[INFO] No existing tags detected for $VERSION"
5454
fi
5555
- name: Login to docker.io
56-
uses: docker/login-action@v2
56+
uses: docker/login-action@v4
5757
with:
5858
username: ${{ secrets.DOCKERHUB_USERNAME }}
5959
password: ${{ secrets.DOCKERHUB_PASSWORD }}
6060
registry: docker.io
6161
- name: Login to quay.io
62-
uses: docker/login-action@v2
62+
uses: docker/login-action@v4
6363
with:
6464
username: ${{ secrets.QUAY_USERNAME }}
6565
password: ${{ secrets.QUAY_PASSWORD }}
6666
registry: quay.io
6767
- name: Set up QEMU
68-
uses: docker/setup-qemu-action@v2
68+
uses: docker/setup-qemu-action@v4
6969
- name: Set up Docker Buildx
70-
uses: docker/setup-buildx-action@v2
70+
uses: docker/setup-buildx-action@v4
7171
- name: Create Release
7272
run: |
7373
git config --global user.name "Mykhailo Kuznietsov"

.github/workflows/try-in-web-ide.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-22.04
2222
steps:
2323
- name: Web IDE Pull Request Check
24-
uses: redhat-actions/try-in-web-ide@v1
24+
uses: redhat-actions/try-in-web-ide@v1.4
2525
with:
2626
github_token: ${{ secrets.GITHUB_TOKEN }}
2727
add_comment: false

0 commit comments

Comments
 (0)