diff --git a/.github/workflows/ci-code-check.yml b/.github/workflows/ci-code-check.yml index 75deb399d2f2a..e53ba20212a8e 100644 --- a/.github/workflows/ci-code-check.yml +++ b/.github/workflows/ci-code-check.yml @@ -12,7 +12,7 @@ env: jobs: code-check: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: ${{ matrix.check == 'ts' && 'TypeScript' || 'Code Lint' }} diff --git a/.github/workflows/ci-test-e2e.yml b/.github/workflows/ci-test-e2e.yml index 3f75695b48771..e5bb470fd76d5 100644 --- a/.github/workflows/ci-test-e2e.yml +++ b/.github/workflows/ci-test-e2e.yml @@ -68,7 +68,7 @@ env: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: RC_DOCKERFILE: ${{ matrix.mongodb-version == '6.0' && inputs.rc-dockerfile-alpine || inputs.rc-dockerfile }} RC_DOCKER_TAG: ${{ matrix.mongodb-version == '6.0' && inputs.rc-docker-tag-alpine || inputs.rc-docker-tag }} diff --git a/.github/workflows/ci-test-unit.yml b/.github/workflows/ci-test-unit.yml index 066cc2e3773ea..862d685a16269 100644 --- a/.github/workflows/ci-test-unit.yml +++ b/.github/workflows/ci-test-unit.yml @@ -16,7 +16,7 @@ env: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Unit Tests diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8f8d29610bb3..20d29d78702cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ env: jobs: release-versions: name: ⚙️ Variables Setup - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: release: ${{ steps.by-tag.outputs.release }} latest-release: ${{ steps.latest.outputs.latest-release }} @@ -82,7 +82,7 @@ jobs: notify-draft-services: name: 🚀 Notify external services - draft - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [release-versions] steps: - uses: Bhacaz/checkout-files@v2 @@ -123,7 +123,7 @@ jobs: packages-build: name: 📦 Build Packages needs: [release-versions, notify-draft-services] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Github Info run: | @@ -165,7 +165,7 @@ jobs: build: name: 📦 Meteor Build - coverage needs: [release-versions, packages-build] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Github Info @@ -189,7 +189,7 @@ jobs: name: 📦 Meteor Build - official needs: [tests-done, release-versions, packages-build] if: (github.event_name == 'release' || github.ref == 'refs/heads/develop') - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Github Info @@ -212,7 +212,7 @@ jobs: build-gh-docker-coverage: name: 🚢 Build Docker Images for Testing needs: [build, release-versions] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: RC_DOCKERFILE: ${{ matrix.platform == 'alpine' && needs.release-versions.outputs.rc-dockerfile-alpine || needs.release-versions.outputs.rc-dockerfile }} @@ -241,7 +241,7 @@ jobs: build-gh-docker: name: 🚢 Build Docker Images for Production needs: [build-prod, release-versions] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: RC_DOCKERFILE: ${{ matrix.platform == 'alpine' && needs.release-versions.outputs.rc-dockerfile-alpine || needs.release-versions.outputs.rc-dockerfile }} @@ -389,7 +389,7 @@ jobs: tests-done: name: ✅ Tests Done - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [checks, test-unit, test-api, test-ui, test-api-ee, test-ui-ee] steps: @@ -399,7 +399,7 @@ jobs: deploy: name: 🚀 Publish build assets - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.event_name == 'release' || github.ref == 'refs/heads/develop' needs: [build-gh-docker, release-versions] @@ -451,7 +451,7 @@ jobs: build-docker-preview: name: 🚢 Build Docker Image (preview) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [build, checks, release-versions] if: github.event_name == 'release' || github.ref == 'refs/heads/develop' steps: @@ -481,7 +481,7 @@ jobs: docker-image-publish: name: 🚀 Publish Docker Image (main) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [deploy, build-docker-preview, release-versions] strategy: @@ -592,7 +592,7 @@ jobs: services-docker-image-publish: name: 🚀 Publish Docker Image (services) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [deploy, release-versions] strategy: @@ -681,7 +681,7 @@ jobs: notify-services: name: 🚀 Notify external services - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: - services-docker-image-publish - docker-image-publish @@ -725,7 +725,7 @@ jobs: curl --fail https://releases.rocket.chat/$RC_VERSION/info trigger-dependent-workflows: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name == 'release' needs: - services-docker-image-publish diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 483b404a6dc86..b8be1dafa9a86 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -8,8 +8,8 @@ on: jobs: CodeQL-Build: - # CodeQL runs on ubuntu-latest and windows-latest - runs-on: ubuntu-latest + # CodeQL runs on ubuntu-22.04 and windows-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index f10578d5879f2..1ac1f9dafc078 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -22,7 +22,7 @@ env: jobs: new-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr-title-checker.yml b/.github/workflows/pr-title-checker.yml index 356ac10c97593..5ba2441b7d167 100644 --- a/.github/workflows/pr-title-checker.yml +++ b/.github/workflows/pr-title-checker.yml @@ -10,7 +10,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: thehanimo/pr-title-checker@v1.3.7 with: diff --git a/.github/workflows/pr-update-description.yml b/.github/workflows/pr-update-description.yml index 71b4ffeda801e..42499f7754ccd 100644 --- a/.github/workflows/pr-update-description.yml +++ b/.github/workflows/pr-update-description.yml @@ -9,7 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: update-pr: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: startsWith(github.head_ref, 'release-') steps: - name: Checkout Repo diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index e133a3153722d..4a420151fe6dd 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,7 +13,7 @@ env: jobs: release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repo uses: actions/checkout@v4 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index b074212964ebc..ed55c513d3179 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -5,7 +5,7 @@ on: jobs: close-issues: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: issues: write steps: diff --git a/.github/workflows/vulnerabilities-jira-integration.yml b/.github/workflows/vulnerabilities-jira-integration.yml index 2daeb533937db..b1bf3bbbf7046 100644 --- a/.github/workflows/vulnerabilities-jira-integration.yml +++ b/.github/workflows/vulnerabilities-jira-integration.yml @@ -6,7 +6,7 @@ on: jobs: IntegrateSecurityVulnerabilities: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: "Github vulnerabilities and jira board integration" uses: RocketChat/github-vulnerabilities-jira-integration@v0.3