From c77e26526cb49c5fc2c2a0e25e8a47b9f0f3b274 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Wed, 25 Sep 2024 17:54:28 +0100 Subject: [PATCH] fix(build): Use current version of GitHub actions to avoid warnings The old action versions previously specified attempted to use Node.js v12, which is no longer supported, and a warning is issued when they run on v16 instead. Update build.yml so that we use versions of the actions that use a version of node.js that is still supported. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fdf83397..411dbffb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,10 @@ jobs: matrix: node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -35,10 +35,10 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 @@ -52,10 +52,10 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20