Skip to content

Commit 734a513

Browse files
committed
Upgrading dart version for dart-http
1 parent b727444 commit 734a513

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

npm/ci-requirements.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ sudo apt-get install httpie
8282

8383
echo "Installing dependencies required for tests in codegens/dart-http"
8484
pushd ./codegens/dart-http &>/dev/null;
85-
wget -q https://storage.googleapis.com/dart-archive/channels/stable/release/2.10.2/linux_packages/dart_2.10.2-1_amd64.deb
86-
sudo dpkg -i dart_2.10.2-1_amd64.deb
85+
wget -q https://storage.googleapis.com/dart-archive/channels/stable/release/latest/linux_packages/dart_3.0.4-1_amd64.deb
86+
sudo dpkg -i dart_3.0.4-1_amd64.deb
8787
echo '''name: test
88+
version: 1.0.0
89+
environment:
90+
sdk: ^3.0.3
8891
dependencies:
89-
http: ^0.12.2
92+
http: ^1.0.0
9093
''' > pubspec.yaml
9194
dart pub get
9295
popd &>/dev/null;

0 commit comments

Comments
 (0)