Skip to content

Commit 378efad

Browse files
committed
Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 0a0e1a2 commit 378efad

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/actions/build-cuttlefish-cvdremote-debian-package/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
using: "composite"
77
steps:
88
- name: Install dependencies
9-
uses: actions/setup-go@v3
9+
uses: actions/setup-go@v6
1010
with:
1111
go-version: 1.23.4
1212
- name: setup apt

.github/workflows/deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
image: debian@sha256:9258a75a7e4323c9e5562b361effc84ee747920116d8adfc98a465a5cdc9150e # debian:bookworm-20250407 (amd64)
5959
steps:
6060
- name: Checkout repository
61-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
61+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262
- name: Build debian package cuttlefish-cvdremote
6363
uses: ./.github/actions/build-cuttlefish-cvdremote-debian-package
6464
with:
@@ -83,7 +83,7 @@ jobs:
8383
image: debian@sha256:00cd074b40c4d99ff0c24540bdde0533ca3791edcdac0de36d6b9fb3260d89e2 # debian:bookworm-20250407 (arm64/v8)
8484
steps:
8585
- name: Checkout repository
86-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
86+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8787
- name: Build debian package cuttlefish-cvdremote
8888
uses: ./.github/actions/build-cuttlefish-cvdremote-debian-package
8989
with:
@@ -106,7 +106,7 @@ jobs:
106106
runs-on: ubuntu-24.04
107107
steps:
108108
- name: Checkout repository
109-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
109+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110110
- name: Build docker image
111111
run: docker build -t cuttlefish-cloud-orchestrator .
112112
- name: Authentication on GCP project android-cuttlefish-artifacts
@@ -131,7 +131,7 @@ jobs:
131131
runs-on: ubuntu-24.04-arm
132132
steps:
133133
- name: Checkout repository
134-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
134+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
135135
- name: Build docker image
136136
run: docker build -t cuttlefish-cloud-orchestrator .
137137
- name: Authentication on GCP project android-cuttlefish-artifacts
@@ -156,7 +156,7 @@ jobs:
156156
runs-on: ubuntu-24.04
157157
steps:
158158
- name: Checkout repository
159-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
159+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
160160
- name: Authentication on GCP project android-cuttlefish-artifacts
161161
uses: 'google-github-actions/auth@v2'
162162
with:
@@ -184,7 +184,7 @@ jobs:
184184
runs-on: ubuntu-24.04
185185
steps:
186186
- name: Checkout repository
187-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
187+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
188188
- name: Authentication on GCP project android-cuttlefish-artifacts
189189
uses: 'google-github-actions/auth@v2'
190190
with:

.github/workflows/presubmit.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Install dependencies
16-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v6
1717
with:
1818
go-version: 1.23.4
1919
- run: go version
@@ -37,11 +37,11 @@ jobs:
3737
image: debian@sha256:9258a75a7e4323c9e5562b361effc84ee747920116d8adfc98a465a5cdc9150e # debian:bookworm-20250407 (amd64)
3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
40+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4141
- name: Build debian package cuttlefish-cvdremote
4242
uses: ./.github/actions/build-cuttlefish-cvdremote-debian-package
4343
- name: Upload debian package
44-
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # aka v4.0.0
44+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4545
with:
4646
name: cuttlefish-cvdremote-amd64
4747
path: cuttlefish-cvdremote_*.deb
@@ -52,11 +52,11 @@ jobs:
5252
image: debian@sha256:00cd074b40c4d99ff0c24540bdde0533ca3791edcdac0de36d6b9fb3260d89e2 # debian:bookworm-20250407 (arm64/v8)
5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
55+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656
- name: Build debian package cuttlefish-cvdremote
5757
uses: ./.github/actions/build-cuttlefish-cvdremote-debian-package
5858
- name: Upload debian package
59-
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # aka v4.0.0
59+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
6060
with:
6161
name: cuttlefish-cvdremote-arm64
6262
path: cuttlefish-cvdremote_*.deb
@@ -65,13 +65,13 @@ jobs:
6565
runs-on: ubuntu-24.04
6666
steps:
6767
- name: Checkout repository
68-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
68+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6969
- name: Build docker image
7070
run: docker build -t cuttlefish-cloud-orchestrator .
7171
- name: Save docker image
7272
run: docker save --output cuttlefish-cloud-orchestrator.tar cuttlefish-cloud-orchestrator
7373
- name: Publish docker image
74-
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # aka v4.0.0
74+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
7575
with:
7676
name: cuttlefish-cloud-orchestrator-amd64
7777
path: cuttlefish-cloud-orchestrator.tar
@@ -80,13 +80,13 @@ jobs:
8080
runs-on: ubuntu-24.04-arm
8181
steps:
8282
- name: Checkout repository
83-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
83+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8484
- name: Build docker image
8585
run: docker build -t cuttlefish-cloud-orchestrator .
8686
- name: Save docker image
8787
run: docker save --output cuttlefish-cloud-orchestrator.tar cuttlefish-cloud-orchestrator
8888
- name: Publish docker image
89-
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # aka v4.0.0
89+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
9090
with:
9191
name: cuttlefish-cloud-orchestrator-arm64
9292
path: cuttlefish-cloud-orchestrator.tar
@@ -96,14 +96,14 @@ jobs:
9696
needs: [build-cuttlefish-cloud-orchestrator-amd64-docker-image, build-cuttlefish-cvdremote-amd64-debian-package]
9797
steps:
9898
- name: Checkout repository
99-
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
99+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
100100
- name: Download cuttlefish-orchestration
101101
run: |
102102
IMAGE_TAG="us-docker.pkg.dev/android-cuttlefish-artifacts/cuttlefish-orchestration/cuttlefish-orchestration:nightly"
103103
docker pull ${IMAGE_TAG}
104104
echo "orchestration_image_tag=${IMAGE_TAG}" >> $GITHUB_ENV
105105
- name: Download cuttlefish-cloud-orchestrator
106-
uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # aka v4.0.0
106+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
107107
with:
108108
name: cuttlefish-cloud-orchestrator-amd64
109109
- name: Load and run cuttlefish-cloud-orchestrator
@@ -118,7 +118,7 @@ jobs:
118118
-v /var/run/docker.sock:/var/run/docker.sock \
119119
-t cuttlefish-cloud-orchestrator
120120
- name: Download cuttlefish-cvdremote
121-
uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # aka v4.0.0
121+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
122122
with:
123123
name: cuttlefish-cvdremote-amd64
124124
- name: Install cuttlefish-cvdremote

0 commit comments

Comments
 (0)