diff --git a/.github/workflows/add_reason_labels.yml b/.github/workflows/add_reason_labels.yml index 036c2e56..2a75de13 100644 --- a/.github/workflows/add_reason_labels.yml +++ b/.github/workflows/add_reason_labels.yml @@ -5,7 +5,7 @@ on: types: [closed] jobs: check-resolution-label: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ contains(github.event.issue.labels.*.name, 'Type/Bug') && !(contains(github.event.issue.labels.*.name, 'Reason/EngineeringMistake') || contains(github.event.issue.labels.*.name, 'Reason/Complex') || diff --git a/.github/workflows/apply-library-repo-templates.yml b/.github/workflows/apply-library-repo-templates.yml index 7a4cc9df..322c30be 100644 --- a/.github/workflows/apply-library-repo-templates.yml +++ b/.github/workflows/apply-library-repo-templates.yml @@ -43,7 +43,7 @@ on: jobs: apply_templates: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Print Inputs run: | diff --git a/.github/workflows/build-connector-template.yml b/.github/workflows/build-connector-template.yml index 3a8d78e1..21a71547 100644 --- a/.github/workflows/build-connector-template.yml +++ b/.github/workflows/build-connector-template.yml @@ -23,7 +23,7 @@ on: jobs: ubuntu-build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 concurrency: group: ${{ github.head_ref }}-ubuntu-build cancel-in-progress: true diff --git a/.github/workflows/build-timestamp-master-template.yml b/.github/workflows/build-timestamp-master-template.yml index 31668de2..d66f264a 100644 --- a/.github/workflows/build-timestamp-master-template.yml +++ b/.github/workflows/build-timestamp-master-template.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/build-with-bal-test-graalvm-connector-template.yml b/.github/workflows/build-with-bal-test-graalvm-connector-template.yml index d20c4daf..c1871aaa 100644 --- a/.github/workflows/build-with-bal-test-graalvm-connector-template.yml +++ b/.github/workflows/build-with-bal-test-graalvm-connector-template.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'Skip GraalVM Check') steps: diff --git a/.github/workflows/build-with-bal-test-graalvm-template.yml b/.github/workflows/build-with-bal-test-graalvm-template.yml index fb84c30c..18de6d8d 100644 --- a/.github/workflows/build-with-bal-test-graalvm-template.yml +++ b/.github/workflows/build-with-bal-test-graalvm-template.yml @@ -34,7 +34,7 @@ on: jobs: ubuntu-build-with-bal-test-graalvm: name: Build with bal test graalvm on Ubuntu - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'Skip GraalVM Check') steps: diff --git a/.github/workflows/build_stdlib_modules.yml b/.github/workflows/build_stdlib_modules.yml index 023b5d42..f2cb0e96 100644 --- a/.github/workflows/build_stdlib_modules.yml +++ b/.github/workflows/build_stdlib_modules.yml @@ -8,7 +8,7 @@ on: jobs: publish-stdlib-modules: name: Publish Ballerina Library Modules - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/central-publish-template.yml b/.github/workflows/central-publish-template.yml index a0cc72d5..c342236b 100644 --- a/.github/workflows/central-publish-template.yml +++ b/.github/workflows/central-publish-template.yml @@ -17,7 +17,7 @@ on: jobs: publish-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/daily-build-connector-template.yml b/.github/workflows/daily-build-connector-template.yml index ba77c7fb..41b09d57 100644 --- a/.github/workflows/daily-build-connector-template.yml +++ b/.github/workflows/daily-build-connector-template.yml @@ -18,7 +18,7 @@ on: jobs: ubuntu-build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 concurrency: group: ${{ github.head_ref }}-ubuntu-build cancel-in-progress: true diff --git a/.github/workflows/dev-stage-central-publish-connector-template.yml b/.github/workflows/dev-stage-central-publish-connector-template.yml index 6b1cc7a3..6134aaf5 100644 --- a/.github/workflows/dev-stage-central-publish-connector-template.yml +++ b/.github/workflows/dev-stage-central-publish-connector-template.yml @@ -13,7 +13,7 @@ on: jobs: publish-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/pr-build-connector-template.yml b/.github/workflows/pr-build-connector-template.yml index 8a2aad88..4a64fbc1 100644 --- a/.github/workflows/pr-build-connector-template.yml +++ b/.github/workflows/pr-build-connector-template.yml @@ -15,7 +15,7 @@ on: jobs: ubuntu-build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 concurrency: group: ${{ github.head_ref }}-ubuntu-build cancel-in-progress: true diff --git a/.github/workflows/process-load-test-results-template.yml b/.github/workflows/process-load-test-results-template.yml index 8442d9e8..d018d49f 100644 --- a/.github/workflows/process-load-test-results-template.yml +++ b/.github/workflows/process-load-test-results-template.yml @@ -16,7 +16,7 @@ on: jobs: process-results: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 80 steps: - name: Checkout repository diff --git a/.github/workflows/pull-request-build-template.yml b/.github/workflows/pull-request-build-template.yml index a5cce1ce..9f874fb0 100644 --- a/.github/workflows/pull-request-build-template.yml +++ b/.github/workflows/pull-request-build-template.yml @@ -26,7 +26,7 @@ on: jobs: ubuntu-build: name: Build on Ubuntu - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 concurrency: group: ${{ github.head_ref }}-ubuntu-build cancel-in-progress: true diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index fb0a1fec..87deecac 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,7 +5,7 @@ on: pull_request jobs: ubuntu-build: name: Build on Ubuntu - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository uses: actions/checkout@v2 diff --git a/.github/workflows/regenerate-connector-template.yml b/.github/workflows/regenerate-connector-template.yml index 23802681..ea7001d1 100644 --- a/.github/workflows/regenerate-connector-template.yml +++ b/.github/workflows/regenerate-connector-template.yml @@ -56,7 +56,7 @@ on: jobs: build: name: Regenerate openapi-connector - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository diff --git a/.github/workflows/regenerate-connectors.yml b/.github/workflows/regenerate-connectors.yml index fdf411a1..459cf036 100644 --- a/.github/workflows/regenerate-connectors.yml +++ b/.github/workflows/regenerate-connectors.yml @@ -47,7 +47,7 @@ on: jobs: build: name: Regenerate OpenAPI Connectors - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release-package-connector-template.yml b/.github/workflows/release-package-connector-template.yml index 74c62090..5745714a 100644 --- a/.github/workflows/release-package-connector-template.yml +++ b/.github/workflows/release-package-connector-template.yml @@ -25,7 +25,7 @@ on: jobs: publish-release: name: Release Package - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/release-package-template.yml b/.github/workflows/release-package-template.yml index 34067970..dba1238b 100644 --- a/.github/workflows/release-package-template.yml +++ b/.github/workflows/release-package-template.yml @@ -21,7 +21,7 @@ on: jobs: publish-release: name: Release Package - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout Repository diff --git a/.github/workflows/release_pipeline.yml b/.github/workflows/release_pipeline.yml index a343b4d6..d4058485 100644 --- a/.github/workflows/release_pipeline.yml +++ b/.github/workflows/release_pipeline.yml @@ -36,7 +36,7 @@ on: jobs: build: name: Release Ballerina Stdlibs - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v2 @@ -56,4 +56,3 @@ jobs: RELEASE_HANDWRITTEN_CONNECTORS: ${{ github.event.inputs.release_handwritten_connectors }} RELEASE_GENERATED_CONNECTORS: ${{ github.event.inputs.release_generated_connectors }} BAL_CONFIG_VAR_WORKFLOW: "publish-release.yml" - diff --git a/.github/workflows/s4hana-dev-stage-central-publish-template.yml b/.github/workflows/s4hana-dev-stage-central-publish-template.yml index 9086b43b..e33a9cfa 100644 --- a/.github/workflows/s4hana-dev-stage-central-publish-template.yml +++ b/.github/workflows/s4hana-dev-stage-central-publish-template.yml @@ -13,7 +13,7 @@ on: jobs: generate-matrix: name: Generate Matrix - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: directories: ${{ steps.set-matrix.outputs.directories }} steps: @@ -33,7 +33,7 @@ jobs: echo "directories=$(jq -nc --args '$ARGS.positional' ${folders[@]})" >> $GITHUB_OUTPUT publish-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: generate-matrix strategy: matrix: diff --git a/.github/workflows/s4hana-dev-stage-central-single-publish-template.yml b/.github/workflows/s4hana-dev-stage-central-single-publish-template.yml index 1c80dbc3..d3159d2c 100644 --- a/.github/workflows/s4hana-dev-stage-central-single-publish-template.yml +++ b/.github/workflows/s4hana-dev-stage-central-single-publish-template.yml @@ -15,7 +15,7 @@ on: jobs: publish-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/s4hana-pr-template.yml b/.github/workflows/s4hana-pr-template.yml index a14a30f0..124bffaa 100644 --- a/.github/workflows/s4hana-pr-template.yml +++ b/.github/workflows/s4hana-pr-template.yml @@ -10,7 +10,7 @@ on: jobs: generate-matrix: name: Generate Matrix - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: directories: ${{ steps.set-matrix.outputs.directories }} steps: @@ -31,7 +31,7 @@ jobs: build-connectors: name: Build Connectors - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: generate-matrix strategy: matrix: @@ -62,7 +62,7 @@ jobs: upload-codcov: name: Upload Codecov - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: build-connectors steps: - name: Download coverage reports @@ -76,7 +76,7 @@ jobs: build-examples: name: Build Examples - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: build-connectors steps: - name: Checkout Repository diff --git a/.github/workflows/s4hana-release-template.yml b/.github/workflows/s4hana-release-template.yml index 35131e27..0cdb5d22 100644 --- a/.github/workflows/s4hana-release-template.yml +++ b/.github/workflows/s4hana-release-template.yml @@ -13,7 +13,7 @@ on: jobs: call_workflow: name: Release Package - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/s4hana-trivy-scan.yml b/.github/workflows/s4hana-trivy-scan.yml index dac53376..214d27e9 100644 --- a/.github/workflows/s4hana-trivy-scan.yml +++ b/.github/workflows/s4hana-trivy-scan.yml @@ -10,7 +10,7 @@ on: jobs: ubuntu-build: name: Build on Ubuntu - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Set up JDK 21 diff --git a/.github/workflows/test_stdlib_releases_with_staging.yml b/.github/workflows/test_stdlib_releases_with_staging.yml index 49eae836..c8a7e260 100644 --- a/.github/workflows/test_stdlib_releases_with_staging.yml +++ b/.github/workflows/test_stdlib_releases_with_staging.yml @@ -11,7 +11,7 @@ on: jobs: test-patch-versions: name: Test Ballerina Library Package Patch Releases - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -41,7 +41,7 @@ jobs: test-minor-versions: name: Test Minor Ballerina Library Package Releases - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/trigger-graalvm-check.yml b/.github/workflows/trigger-graalvm-check.yml index e77dbb6e..2a9039ec 100644 --- a/.github/workflows/trigger-graalvm-check.yml +++ b/.github/workflows/trigger-graalvm-check.yml @@ -22,7 +22,7 @@ on: jobs: trigger-graalvm-checks: name: Run workflows - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Module Repository uses: actions/checkout@v3 diff --git a/.github/workflows/trigger-load-tests-template.yml b/.github/workflows/trigger-load-tests-template.yml index f2b9fb30..8455b51b 100644 --- a/.github/workflows/trigger-load-tests-template.yml +++ b/.github/workflows/trigger-load-tests-template.yml @@ -32,7 +32,7 @@ on: jobs: invoke-load-tests: name: Trigger load tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - name: Checkout diff --git a/.github/workflows/trivy-scan-template.yml b/.github/workflows/trivy-scan-template.yml index 2dc7e37c..0ec22719 100644 --- a/.github/workflows/trivy-scan-template.yml +++ b/.github/workflows/trivy-scan-template.yml @@ -11,7 +11,7 @@ on: jobs: ubuntu-build: name: Build on Ubuntu - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/update_dependencies.yml b/.github/workflows/update_dependencies.yml index bb0d3b68..ef7a39b7 100644 --- a/.github/workflows/update_dependencies.yml +++ b/.github/workflows/update_dependencies.yml @@ -13,7 +13,7 @@ on: jobs: dependency_graph: name: Update the Ballerina Library Dependency Graph - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Repo