diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index e3d858e61d..18d42c8765 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: audit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') diff --git a/.github/workflows/auto-comment.yml b/.github/workflows/auto-comment.yml index 66ed36ede6..c48d7b9704 100644 --- a/.github/workflows/auto-comment.yml +++ b/.github/workflows/auto-comment.yml @@ -9,7 +9,7 @@ permissions: jobs: processLabelAction: name: Process Label Action - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index eadaef106d..97fa4e0c97 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -10,7 +10,7 @@ on: jobs: changelog: if: ${{ contains( github.event.pull_request.labels.*.name, 'no-changelog') != true }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout diff --git a/.github/workflows/circular-deps.yml b/.github/workflows/circular-deps.yml index d971030f54..e166b76be5 100644 --- a/.github/workflows/circular-deps.yml +++ b/.github/workflows/circular-deps.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: circular-deps: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1605845167..30196285f2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,7 +13,7 @@ on: jobs: analyze: name: Analyze with CodeQL - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: actions: read contents: read diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index ff15a17332..d5b56e7650 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -20,7 +20,7 @@ on: jobs: release: if: github.event_name == 'workflow_dispatch' || github.ref_protected - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: write id-token: write diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a3fe643f3d..40586b9f65 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') diff --git a/.github/workflows/merge-by-comments.yml b/.github/workflows/merge-by-comments.yml index 1f76a66c84..814a47c45d 100644 --- a/.github/workflows/merge-by-comments.yml +++ b/.github/workflows/merge-by-comments.yml @@ -6,7 +6,7 @@ on: jobs: rfr_add_date: name: "Post merge-by date as comment" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write steps: diff --git a/.github/workflows/merge-by-table.yml b/.github/workflows/merge-by-table.yml index 8129c44b34..2e87eba552 100644 --- a/.github/workflows/merge-by-table.yml +++ b/.github/workflows/merge-by-table.yml @@ -15,7 +15,7 @@ on: jobs: rfr_add_date: name: "Build table and notify users" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: discussions: write pull-requests: write diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e5a6f0a46e..2e3a406139 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,7 +8,7 @@ permissions: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/stale@v9 with: diff --git a/.github/workflows/update-project.yml b/.github/workflows/update-project.yml index 94070a0995..e54b069eec 100644 --- a/.github/workflows/update-project.yml +++ b/.github/workflows/update-project.yml @@ -18,7 +18,7 @@ permissions: jobs: update-project: name: Move project item - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: zowe-actions/shared-actions/project-move-item@main if: ${{ github.event.issue && fromJSON(env.ISSUE_STATUSES)[github.event.label.name] }} diff --git a/.github/workflows/zowe-explorer-ci.yml b/.github/workflows/zowe-explorer-ci.yml index ad4251089f..851cf62c2c 100644 --- a/.github/workflows/zowe-explorer-ci.yml +++ b/.github/workflows/zowe-explorer-ci.yml @@ -28,7 +28,7 @@ jobs: matrix: node-version: [18.x, 20.x, 22.x] # order operating systems from best to worst - os: [windows-latest, ubuntu-latest, macos-latest] + os: [windows-latest, ubuntu-22.04, macos-latest] if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') @@ -56,17 +56,17 @@ jobs: - name: Unlock Keyring id: unlock-keyring - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' uses: t1m0thyj/unlock-keyring@v1 - name: Integration tests - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' run: xvfb-run pnpm test:integration --exclude "Activation.feature" working-directory: packages/zowe-explorer - name: Upload test results uses: actions/upload-artifact@v4 - if: always() && steps.build.outcome == 'success' && matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: always() && steps.build.outcome == 'success' && matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' with: name: zowe-explorer-results path: | @@ -75,7 +75,7 @@ jobs: - name: Upload API test results uses: actions/upload-artifact@v4 - if: always() && steps.build.outcome == 'success' && matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: always() && steps.build.outcome == 'success' && matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' with: name: zowe-explorer-api-results path: packages/zowe-explorer-api/results/ @@ -87,12 +87,12 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Package VSIX - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' run: pnpm package working-directory: packages/zowe-explorer - name: Archive VSIX artifact - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' uses: actions/upload-artifact@v4 with: name: zowe-explorer-vsix diff --git a/.github/workflows/zowe-explorer-ftp-ci.yml b/.github/workflows/zowe-explorer-ftp-ci.yml index 36fb150a78..b7051d12cc 100644 --- a/.github/workflows/zowe-explorer-ftp-ci.yml +++ b/.github/workflows/zowe-explorer-ftp-ci.yml @@ -28,7 +28,7 @@ jobs: matrix: node-version: [18.x, 20.x, 22.x] # order operating systems from best to worst - os: [windows-latest, ubuntu-latest, macos-latest] + os: [windows-latest, ubuntu-22.04, macos-latest] if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') @@ -53,25 +53,25 @@ jobs: - name: Upload test results uses: actions/upload-artifact@v4 - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' with: name: zowe-explorer-ftp-extension-results path: packages/zowe-explorer-ftp-extension/results/ # Run codecov upload for only one run # - name: Upload Results to Codecov - # if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + # if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' # uses: codecov/codecov-action@v3 # with: # env_vars: OS,NODE - name: Package VSIX - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' run: pnpm package working-directory: packages/zowe-explorer-ftp-extension - name: Archive VSIX artifact - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' + if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x' uses: actions/upload-artifact@v4 with: name: zowe-explorer-ftp-extension-vsix