From a5ceba22344e3146b1df30cb144ddcb8fd35967a Mon Sep 17 00:00:00 2001 From: Vishal Shingala Date: Wed, 12 Nov 2025 17:57:56 +0530 Subject: [PATCH 1/4] chore: Update ubuntu version used for CI as ubuntu 20 is deprecated now --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a38dc2230..7e434086d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ on: jobs: Unit-Tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: max-parallel: 10 matrix: From ef0bdffe92b7b5a7d5675d4f2b22656e10caf5ff Mon Sep 17 00:00:00 2001 From: Vishal Shingala Date: Wed, 12 Nov 2025 19:22:32 +0530 Subject: [PATCH 2/4] chore: remove v18 from CI and update ubuntu image version for csharp codegens in ci --- .github/workflows/test.yml | 2 +- codegens/csharp-httpclient/test/ci-install.sh | 2 +- codegens/csharp-restsharp/test/ci-install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e434086d..92b4442d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - node-version: [ 18.x, 20.x ] + node-version: [ 20.x ] language-variant: [ 'csharp-httpclient', 'csharp-restsharp', 'curl', 'dart-dio', 'dart-http', 'golang', 'http', 'java-okhttp', 'java-unirest', 'js-fetch', 'js-jquery', 'js-xhr', 'kotlin-okhttp', 'libcurl', 'nodejs-axios', 'nodejs-native', 'nodejs-request', 'nodejs-unirest', 'objective-c', 'ocaml-cohttp', diff --git a/codegens/csharp-httpclient/test/ci-install.sh b/codegens/csharp-httpclient/test/ci-install.sh index 0b4d8c311..80cc6053d 100755 --- a/codegens/csharp-httpclient/test/ci-install.sh +++ b/codegens/csharp-httpclient/test/ci-install.sh @@ -5,7 +5,7 @@ sudo apt-get update echo "Installing dependencies required for tests in codegens/csharp-httpclient" # Install latest .net6.0 sdk pushd ./codegens/csharp-httpclient &>/dev/null; - wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb + wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt-get install apt-transport-https sudo apt-get update diff --git a/codegens/csharp-restsharp/test/ci-install.sh b/codegens/csharp-restsharp/test/ci-install.sh index 9bc29ba6d..5d9c5498c 100755 --- a/codegens/csharp-restsharp/test/ci-install.sh +++ b/codegens/csharp-restsharp/test/ci-install.sh @@ -4,7 +4,7 @@ set -ev; # stop on error sudo apt-get update echo "Installing dependencies required for tests in codegens/csharp-restsharp" pushd ./codegens/csharp-restsharp &>/dev/null; - wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb + wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt-get install apt-transport-https sudo apt-get update From 7313b65485adedd501e1090cec3d434b98540f91 Mon Sep 17 00:00:00 2001 From: Vishal Shingala Date: Wed, 12 Nov 2025 19:31:04 +0530 Subject: [PATCH 3/4] chore: allow non-failing test jobs to complete if other job fails --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92b4442d9..8f3a28682 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,7 @@ jobs: Unit-Tests: runs-on: ubuntu-22.04 strategy: + fail-fast: false max-parallel: 10 matrix: node-version: [ 20.x ] From 48a96d4acb0173fe6d6bca8d10ced7c96bbb28f8 Mon Sep 17 00:00:00 2001 From: Vishal Shingala Date: Wed, 12 Nov 2025 19:39:04 +0530 Subject: [PATCH 4/4] chore: update dotnet sdk version in ci --- codegens/csharp-httpclient/test/ci-install.sh | 6 +++--- codegens/csharp-restsharp/test/ci-install.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/codegens/csharp-httpclient/test/ci-install.sh b/codegens/csharp-httpclient/test/ci-install.sh index 80cc6053d..0dac46ef4 100755 --- a/codegens/csharp-httpclient/test/ci-install.sh +++ b/codegens/csharp-httpclient/test/ci-install.sh @@ -3,13 +3,13 @@ set -ev; # stop on error sudo apt-get update echo "Installing dependencies required for tests in codegens/csharp-httpclient" -# Install latest .net6.0 sdk +# Install latest .net8.0 sdk pushd ./codegens/csharp-httpclient &>/dev/null; wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt-get install apt-transport-https sudo apt-get update - sudo apt-get install dotnet-sdk-6.0 - dotnet new console -o testProject -f net6.0 + sudo apt-get install dotnet-sdk-8.0 + dotnet new console -o testProject -f net8.0 # no extra packages needed popd &>/dev/null; diff --git a/codegens/csharp-restsharp/test/ci-install.sh b/codegens/csharp-restsharp/test/ci-install.sh index 5d9c5498c..7ceff201c 100755 --- a/codegens/csharp-restsharp/test/ci-install.sh +++ b/codegens/csharp-restsharp/test/ci-install.sh @@ -8,8 +8,8 @@ pushd ./codegens/csharp-restsharp &>/dev/null; sudo dpkg -i packages-microsoft-prod.deb sudo apt-get install apt-transport-https sudo apt-get update - sudo apt-get install dotnet-sdk-6.0 - dotnet new console -o testProject -f net6.0 + sudo apt-get install dotnet-sdk-8.0 + dotnet new console -o testProject -f net8.0 pushd ./testProject &>/dev/null; dotnet add package RestSharp --version 112.0.0 popd &>/dev/null;