From 8704ad2aec2be3b5cca7b7433dd7e7e66dd6f92e Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 22 Feb 2022 18:25:23 +0300 Subject: [PATCH] Update default runtime to node16 (#192) --- .github/workflows/check-dist.yml | 4 ++-- .github/workflows/licensed.yml | 6 +++++- .github/workflows/versions.yml | 2 +- .github/workflows/workflow.yml | 4 ++-- action.yml | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 7e9f05db4..0816ccbd1 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 16.x uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: 16.x - name: Install dependencies run: npm ci diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 4f485f5f9..55402d94b 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -14,11 +14,15 @@ jobs: name: Check licenses steps: - uses: actions/checkout@v2 + - name: Set Node.js 16.x + uses: actions/setup-node@v2 + with: + node-version: 16.x - run: npm ci - name: Install licensed run: | cd $RUNNER_TEMP - curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.4.4/licensed-3.4.4-linux-x64.tar.gz sudo tar -xzf licensed.tar.gz sudo mv licensed /usr/local/bin/licensed - run: licensed status diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 2d05423b1..c0bb36984 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -78,7 +78,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, windows-latest, ubuntu-latest] - go: [1.7, 1.8.6] + go: [1.9, 1.8.6] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 07d8380ae..9e18f39b5 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -19,10 +19,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 16 uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 16 cache: npm - name: npm ci diff --git a/action.yml b/action.yml index 1db16c928..5706f1b86 100644 --- a/action.yml +++ b/action.yml @@ -14,5 +14,5 @@ inputs: description: Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user. default: ${{ github.token }} runs: - using: 'node12' + using: 'node16' main: 'dist/index.js'