From 087ecf153202c45a2c20a5bced16419cb73cf9df Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 8 Feb 2024 11:03:36 -0700 Subject: [PATCH] chore: bump action versions (#22354) These should be our last node v16 actions. --- .github/workflows/ci.generate.ts | 6 +++--- .github/workflows/ci.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 1fcdf9816f..d97413ce78 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -172,7 +172,7 @@ const installRustStep = { }; const installPythonSteps = [{ name: "Install Python", - uses: "actions/setup-python@v4", + uses: "actions/setup-python@v5", with: { "python-version": 3.11 }, }, { name: "Remove unused versions of Python", @@ -187,7 +187,7 @@ const installPythonSteps = [{ }]; const installNodeStep = { name: "Install Node", - uses: "actions/setup-node@v3", + uses: "actions/setup-node@v4", with: { "node-version": 18 }, }; const installProtocStep = { @@ -599,7 +599,7 @@ const ci = { { // Restore cache from the latest 'main' branch build. name: "Restore cache build output (PR)", - uses: "actions/cache/restore@v3", + uses: "actions/cache/restore@v4", if: "github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')", with: { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dccd94695..8c8d469d0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,7 @@ jobs: with: deno-version: v1.x - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 if: '!(matrix.skip) && (matrix.job != ''lint'' && (matrix.os != ''linux'' || matrix.arch != ''aarch64''))' @@ -180,7 +180,7 @@ jobs: ForEach-Object { Move-Item "$_" "$_.disabled" } - if: '!(matrix.skip) && (matrix.job == ''bench'')' name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Install protoc @@ -344,7 +344,7 @@ jobs: restore-keys: '74-cargo-home-${{ matrix.os }}-${{ matrix.arch }}' if: '!(matrix.skip)' - name: Restore cache build output (PR) - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 if: '!(matrix.skip) && (github.ref != ''refs/heads/main'' && !startsWith(github.ref, ''refs/tags/''))' with: path: |-