Unnamed repository; edit this file 'description' to name the repository.
Update GitHub actions dependencies
Use newer versions of actions, Node 16 -> 18 Fixes several warnings in the actions tab regarding usage of Node 16
LucasFA 2024-02-16
parent ed425f8 · commit c8fd8a3
-rw-r--r--.github/workflows/ci.yaml4
-rw-r--r--.github/workflows/metrics.yaml10
-rw-r--r--.github/workflows/release.yaml6
3 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 6ea9b6e253..62fbd57abc 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -165,9 +165,9 @@ jobs:
if: needs.changes.outputs.typescript == 'true'
- name: Install Nodejs
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: 16
+ node-version: 18
if: needs.changes.outputs.typescript == 'true'
- name: Install xvfb
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml
index ed775ae2d3..be9f504e59 100644
--- a/.github/workflows/metrics.yaml
+++ b/.github/workflows/metrics.yaml
@@ -21,7 +21,7 @@ jobs:
rustup component add rustfmt rust-src
rustup default stable
- name: Cache cargo
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4
- name: Restore cargo cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -52,7 +52,7 @@ jobs:
run: cargo xtask metrics build
- name: Cache target
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: target/
key: ${{ runner.os }}-target-${{ github.sha }}
@@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4
- name: Restore cargo cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@@ -86,7 +86,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ github.sha }}
- name: Restore target cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: target/
key: ${{ runner.os }}-target-${{ github.sha }}
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index f22e40181b..adb1c85051 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -80,7 +80,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
- node-version: 16
+ node-version: 18
- name: Update apt repositories
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'arm-unknown-linux-gnueabihf'
@@ -188,9 +188,9 @@ jobs:
needs: ["dist", "dist-x86_64-unknown-linux-musl"]
steps:
- name: Install Nodejs
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: 16
+ node-version: 18
- run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
if: github.ref == 'refs/heads/release'