diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 74829f3..cc2fb98 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - master - - zowe-v1-lts + - zowe-v?-lts - next # schedule: # - cron: '0 10 * * *' @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js LTS uses: actions/setup-node@v3 diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index c12b0a7..e14850e 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - master - - zowe-v1-lts + - zowe-v?-lts - next jobs: @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Check Changelog Updated - uses: awharn/check_changelog_action@v0.0.2 + uses: awharn/check_changelog_action@v1 with: header: '## Recent Changes' file: 'CHANGELOG.md' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1d8c945..e06674e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,12 +4,12 @@ on: push: branches: - master - - zowe-v1-lts + - zowe-v?-lts - next pull_request: branches: - master - - zowe-v1-lts + - zowe-v?-lts - next # schedule: # - cron: '0 10 * * *' @@ -30,13 +30,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} config-file: ./.github/resources/codeql-config.yml - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1f0e1b9..acf7754 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js LTS uses: actions/setup-node@v3 diff --git a/.github/workflows/zowe-cli-plugin.yml b/.github/workflows/zowe-cli-plugin.yml index 911ed56..55d1a3a 100644 --- a/.github/workflows/zowe-cli-plugin.yml +++ b/.github/workflows/zowe-cli-plugin.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x] os: [windows-latest, ubuntu-latest, macos-latest] env: @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -40,22 +40,12 @@ jobs: echo "::remove-matcher owner=eslint-compact::" echo "::remove-matcher owner=eslint-stylish::" - - name: Update NPM - if: ${{ matrix.node-version == '14.x' }} - run: npm install -g npm@8 - - - name: Update Python - if: ${{ matrix.node-version == '14.x' && matrix.os == 'macos-latest' }} - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Install Dependencies run: npm ci --quiet - name: Update Dependencies id: npm-update - uses: zowe-actions/octorelease-script@master + uses: zowe-actions/octorelease/script@v1 with: script: npmUpdate @@ -74,7 +64,7 @@ jobs: - name: Archive Results if: ${{ always() && steps.build.outcome == 'success' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.os }}-${{ matrix.node-version }}-results path: __tests__/__results__/ @@ -92,7 +82,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 persist-credentials: false @@ -107,7 +97,7 @@ jobs: run: npm ci - name: Update Dependencies - uses: zowe-actions/octorelease-script@master + uses: zowe-actions/octorelease/script@v1 env: GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }} GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }} @@ -118,7 +108,7 @@ jobs: - name: Build Source run: npm run build - - uses: zowe-actions/octorelease@master + - uses: zowe-actions/octorelease@v1 env: GIT_COMMITTER_NAME: ${{ secrets.ZOWE_ROBOT_USER }} GIT_COMMITTER_EMAIL: ${{ secrets.ZOWE_ROBOT_EMAIL }}