From 077c6dfb55cf2153bbf1883d891f8e37969cfc36 Mon Sep 17 00:00:00 2001 From: zorzal Date: Fri, 27 Sep 2024 07:47:54 -0400 Subject: [PATCH 1/2] ci: use node-version 20.x in ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a56be2a..718cf6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 From f6966051c74a25e02d27e68ac685aec6bc925b82 Mon Sep 17 00:00:00 2001 From: zorzal Date: Fri, 27 Sep 2024 09:07:29 -0400 Subject: [PATCH 2/2] ci: update github actions checkout@v3 and setup-node@v3 use node 16 under the hood, which was deprecated in 2023. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 718cf6e..fb37232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: name: Foundry project runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "yarn" @@ -51,7 +51,7 @@ jobs: node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 @@ -59,7 +59,7 @@ jobs: version: nightly - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "yarn"