summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.generate.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-07 08:47:44 +1100
committerGitHub <noreply@github.com>2024-02-06 21:47:44 +0000
commit9955cbdb56d5aa7882048e06709695a137d2e3a5 (patch)
tree770560a57c89149a6fb75ed62ff1ed0c5ad784cd /.github/workflows/ci.generate.ts
parentc8b2af8ed1b27822b0e6193b7a82903f54e56d95 (diff)
chore: upgrade CI workflows to use Node 20 (#22304)
No longer uses Node 16, which is deprecated.
Diffstat (limited to '.github/workflows/ci.generate.ts')
-rwxr-xr-x.github/workflows/ci.generate.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index 8d5ea86da..6ee7f7545 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -141,7 +141,7 @@ const cloneRepoStep = [{
].join("\n"),
}, {
name: "Clone repository",
- uses: "actions/checkout@v3",
+ uses: "actions/checkout@v4",
with: {
// Use depth > 1, because sometimes we need to rebuild main and if
// other commits have landed it will become impossible to rebuild if
@@ -181,7 +181,7 @@ const installNodeStep = {
};
const installProtocStep = {
name: "Install protoc",
- uses: "arduino/setup-protoc@v2",
+ uses: "arduino/setup-protoc@v3",
with: { "version": "21.12", "repo-token": "${{ secrets.GITHUB_TOKEN }}" },
};
const installDenoStep = {
@@ -558,7 +558,7 @@ const ci = {
},
{
name: "Cache Cargo home",
- uses: "actions/cache@v3",
+ uses: "actions/cache@v4",
with: {
// See https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
// Note that with the new sparse registry format, we no longer have to cache a `.git` dir
@@ -990,7 +990,7 @@ const ci = {
{
// In main branch, always create a fresh cache
name: "Save cache build output (main)",
- uses: "actions/cache/save@v3",
+ uses: "actions/cache/save@v4",
if:
"(matrix.job == 'test' || matrix.job == 'lint') && github.ref == 'refs/heads/main'",
with: {