Skip to content

Commit a94cd5a

Browse files
committed
[KLC-1927] bump third-party actions to Node.js 24 runtimes
Remaining node20 JS actions flagged by the deprecation notice. Bumped to their latest Node 24 majors (inputs we use are unchanged): sonarsource/sonarqube-scan-action v6 -> v8 softprops/action-gh-release v2 -> v3 google-github-actions/auth v2 -> v3 google-github-actions/upload-cloud-storage v2 -> v3 docker/setup-qemu-action v3 -> v4 docker/setup-buildx-action v3 -> v4 docker/login-action v3 -> v4 sonarqube-scan-action v8 enables scanner signature verification by default (skipSignatureVerification now false); auth v3 keeps credentials_json; upload-cloud-storage v3 keeps predefinedAcl/parent; setup-buildx v4 keeps driver-opts. quality-gate-action and twingate are composite (unaffected); golangci-lint-action and actions/checkout are already Node 24.
1 parent 43ed415 commit a94cd5a

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/pr-qa-sec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
service-key: ${{ secrets.TWINGATE_SERVICE_ACCOUNT }}
125125

126126
- name: SonarQube Scan
127-
uses: sonarsource/sonarqube-scan-action@v6
127+
uses: sonarsource/sonarqube-scan-action@v8
128128
env:
129129
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
130130
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
@@ -142,7 +142,7 @@ jobs:
142142
if: github.event_name != 'pull_request'
143143

144144
- name: SonarQube Go detailed scan PR
145-
uses: sonarsource/sonarqube-scan-action@v6
145+
uses: sonarsource/sonarqube-scan-action@v8
146146
env:
147147
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
148148
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

.github/workflows/release-docker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ jobs:
7777

7878
- name: Set up QEMU
7979
if: ${{ matrix.enabled }}
80-
uses: docker/setup-qemu-action@v3
80+
uses: docker/setup-qemu-action@v4
8181
with:
8282
platforms: linux/amd64,linux/arm64
8383

8484
- name: Set up Docker Buildx
8585
if: ${{ matrix.enabled }}
86-
uses: docker/setup-buildx-action@v3
86+
uses: docker/setup-buildx-action@v4
8787
with:
8888
driver-opts: |
8989
image=moby/buildkit:latest
9090
network=host
9191
9292
- name: Login to Docker Hub
9393
if: ${{ matrix.enabled }}
94-
uses: docker/login-action@v3
94+
uses: docker/login-action@v4
9595
with:
9696
username: ${{ secrets.DOCKER_REGISTRY_USER }}
9797
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
8383
- name: Create Release
8484
id: create_release
85-
uses: softprops/action-gh-release@v2
85+
uses: softprops/action-gh-release@v3
8686
with:
8787
files: |
8888
bin/klevergo-node${{ matrix.extension }}
@@ -103,33 +103,33 @@ jobs:
103103
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
104104

105105
- name: Configure GCP service account
106-
uses: google-github-actions/auth@v2
106+
uses: google-github-actions/auth@v3
107107
with:
108108
credentials_json: '${{ secrets.GCP_CLOUD_RUN_SA }}'
109109

110110
- name: Upload operator files to bucket
111-
uses: 'google-github-actions/upload-cloud-storage@v2'
111+
uses: 'google-github-actions/upload-cloud-storage@v3'
112112
with:
113113
path: 'bin/klevergo-operator${{ matrix.extension }}'
114114
destination: 'kleverchain-public/koperator/${{ matrix.name }}/${{ env.VERSION }}'
115115
predefinedAcl: 'publicRead'
116116

117117
- name: Upload node files to bucket
118-
uses: 'google-github-actions/upload-cloud-storage@v2'
118+
uses: 'google-github-actions/upload-cloud-storage@v3'
119119
with:
120120
path: 'bin/klevergo-node${{ matrix.extension }}'
121121
destination: 'kleverchain-public/knode/${{ matrix.name }}/${{ env.VERSION }}'
122122
predefinedAcl: 'publicRead'
123123

124124
- name: Upload benchmark files to bucket
125-
uses: 'google-github-actions/upload-cloud-storage@v2'
125+
uses: 'google-github-actions/upload-cloud-storage@v3'
126126
with:
127127
path: 'bin/klevergo-benchmark${{ matrix.extension }}'
128128
destination: 'kleverchain-public/kbenchmark/${{ matrix.name }}/${{ env.VERSION }}'
129129
predefinedAcl: 'publicRead'
130130

131131
- name: Upload Klever Blockchain IDE operator files to bucket
132-
uses: 'google-github-actions/upload-cloud-storage@v2'
132+
uses: 'google-github-actions/upload-cloud-storage@v3'
133133
with:
134134
path: 'bin/${{ matrix.name }}'
135135
destination: 'kleverchain-public/koperator/${{ matrix.name }}/${{ env.VERSION }}'

0 commit comments

Comments
 (0)