Skip to content

Commit bb0f93a

Browse files
committed
Auto merge of #16587 - LucasFA:update-actions, r=lnicola
ci: Update GitHub Actions and Node version Use newer versions of actions; Node 16 -> 18 Fix several warnings in the actions tab regarding usage of the EOL Node 16
2 parents 8906661 + c8fd8a3 commit bb0f93a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ jobs:
165165
if: needs.changes.outputs.typescript == 'true'
166166

167167
- name: Install Nodejs
168-
uses: actions/setup-node@v3
168+
uses: actions/setup-node@v4
169169
with:
170-
node-version: 16
170+
node-version: 18
171171
if: needs.changes.outputs.typescript == 'true'
172172

173173
- name: Install xvfb

.github/workflows/metrics.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
rustup component add rustfmt rust-src
2222
rustup default stable
2323
- name: Cache cargo
24-
uses: actions/cache@v3
24+
uses: actions/cache@v4
2525
with:
2626
path: |
2727
~/.cargo/bin/
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/checkout@v4
4040

4141
- name: Restore cargo cache
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: |
4545
~/.cargo/bin/
@@ -52,7 +52,7 @@ jobs:
5252
run: cargo xtask metrics build
5353

5454
- name: Cache target
55-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5656
with:
5757
path: target/
5858
key: ${{ runner.os }}-target-${{ github.sha }}
@@ -76,7 +76,7 @@ jobs:
7676
uses: actions/checkout@v4
7777

7878
- name: Restore cargo cache
79-
uses: actions/cache@v3
79+
uses: actions/cache@v4
8080
with:
8181
path: |
8282
~/.cargo/bin/
@@ -86,7 +86,7 @@ jobs:
8686
key: ${{ runner.os }}-cargo-${{ github.sha }}
8787

8888
- name: Restore target cache
89-
uses: actions/cache@v3
89+
uses: actions/cache@v4
9090
with:
9191
path: target/
9292
key: ${{ runner.os }}-target-${{ github.sha }}

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Install Node.js
8181
uses: actions/setup-node@v4
8282
with:
83-
node-version: 16
83+
node-version: 18
8484

8585
- name: Update apt repositories
8686
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'arm-unknown-linux-gnueabihf'
@@ -188,9 +188,9 @@ jobs:
188188
needs: ["dist", "dist-x86_64-unknown-linux-musl"]
189189
steps:
190190
- name: Install Nodejs
191-
uses: actions/setup-node@v3
191+
uses: actions/setup-node@v4
192192
with:
193-
node-version: 16
193+
node-version: 18
194194

195195
- run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
196196
if: github.ref == 'refs/heads/release'

0 commit comments

Comments
 (0)