From 84c02b5bb468564d3821486dff4f602c5724ce1a Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 2 Feb 2024 14:16:32 +0000 Subject: [PATCH] Update workflows to Node 20 Signed-off-by: Andrew W. Harn --- .github/workflows/audit.yml | 4 ++-- .github/workflows/auto-comment.yml | 2 +- .github/workflows/changelog.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/linter.yml | 4 ++-- .github/workflows/stale.yml | 2 +- .github/workflows/zowe-cli-plugin.yml | 12 ++++++------ 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 59b8dea..0c970d4 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* diff --git a/.github/workflows/auto-comment.yml b/.github/workflows/auto-comment.yml index 526dd14..f9633f2 100644 --- a/.github/workflows/auto-comment.yml +++ b/.github/workflows/auto-comment.yml @@ -9,7 +9,7 @@ jobs: name: Process Label Action runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Process Label Action uses: hramos/respond-to-issue-based-on-label@v2 diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 580190d..ebe4c21 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0224c00..fe33186 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index efdbd67..91d87df 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4d7ac81..17f632a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: # General rules applied to both, issues and pull requests (PRs) start-date: "2022-07-30T00:00:00Z" diff --git a/.github/workflows/zowe-cli-plugin.yml b/.github/workflows/zowe-cli-plugin.yml index fa68be8..5bd5dbc 100644 --- a/.github/workflows/zowe-cli-plugin.yml +++ b/.github/workflows/zowe-cli-plugin.yml @@ -15,15 +15,15 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] os: [windows-latest, ubuntu-latest, macos-latest] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -65,7 +65,7 @@ jobs: - name: Archive Results id: upload if: ${{ always() && steps.build.outcome == 'success' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-${{ matrix.node-version }}-results path: | @@ -81,14 +81,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false ref: ${{ github.ref }} - name: Use Node LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 'lts/*'