From c2d3cb19f39d96a6097a87fc9aabd60920e0359c Mon Sep 17 00:00:00 2001 From: huiyifyj Date: Thu, 30 Mar 2023 21:12:15 +0800 Subject: [PATCH] Update actions and node version Node.js 12 runtime actions are deprecated. Update the following actions to use Node.js 16 runtime: - actions/checkout@v2 => actions/checkout@v3 - actions/setup-node@v2 => actions/setup-node@v3 For more information see: - https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ - https://github.com/actions/checkout/releases/tag/v3.0.0 - https://github.com/actions/setup-node/releases/tag/v3.0.0 --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7f546e..9309ab4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install nodejs - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 16.x - name: Run tests run: |