Skip to content

Commit d83518c

Browse files
authored
Merge pull request #802 from postmanlabs/chore/fix-ci-runners-stuck
chore: Update ubuntu version used in CI to v22 as ubuntu v20 is deprecated by GH Actions.
2 parents c2dd080 + 48a96d4 commit d83518c

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ on:
99

1010
jobs:
1111
Unit-Tests:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
strategy:
14+
fail-fast: false
1415
max-parallel: 10
1516
matrix:
16-
node-version: [ 18.x, 20.x ]
17+
node-version: [ 20.x ]
1718
language-variant: [ 'csharp-httpclient', 'csharp-restsharp', 'curl', 'dart-dio', 'dart-http', 'golang', 'http',
1819
'java-okhttp', 'java-unirest', 'js-fetch', 'js-jquery', 'js-xhr', 'kotlin-okhttp', 'libcurl',
1920
'nodejs-axios', 'nodejs-native', 'nodejs-request', 'nodejs-unirest', 'objective-c', 'ocaml-cohttp',

codegens/csharp-httpclient/test/ci-install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ set -ev; # stop on error
33

44
sudo apt-get update
55
echo "Installing dependencies required for tests in codegens/csharp-httpclient"
6-
# Install latest .net6.0 sdk
6+
# Install latest .net8.0 sdk
77
pushd ./codegens/csharp-httpclient &>/dev/null;
8-
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
8+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
99
sudo dpkg -i packages-microsoft-prod.deb
1010
sudo apt-get install apt-transport-https
1111
sudo apt-get update
12-
sudo apt-get install dotnet-sdk-6.0
13-
dotnet new console -o testProject -f net6.0
12+
sudo apt-get install dotnet-sdk-8.0
13+
dotnet new console -o testProject -f net8.0
1414
# no extra packages needed
1515
popd &>/dev/null;

codegens/csharp-restsharp/test/ci-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ set -ev; # stop on error
44
sudo apt-get update
55
echo "Installing dependencies required for tests in codegens/csharp-restsharp"
66
pushd ./codegens/csharp-restsharp &>/dev/null;
7-
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
7+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
88
sudo dpkg -i packages-microsoft-prod.deb
99
sudo apt-get install apt-transport-https
1010
sudo apt-get update
11-
sudo apt-get install dotnet-sdk-6.0
12-
dotnet new console -o testProject -f net6.0
11+
sudo apt-get install dotnet-sdk-8.0
12+
dotnet new console -o testProject -f net8.0
1313
pushd ./testProject &>/dev/null;
1414
dotnet add package RestSharp --version 112.0.0
1515
popd &>/dev/null;

0 commit comments

Comments
 (0)