File tree Expand file tree Collapse file tree 5 files changed +16
-35
lines changed Expand file tree Collapse file tree 5 files changed +16
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,19 +17,17 @@ jobs:
1717 - uses : actions/checkout@v2
1818 - uses : subosito/flutter-action@v1
1919 with :
20- channel : ' stable'
20+ flutter-version : ' 2.5.0'
21+ - uses : dart-lang/setup-dart@v1
22+ with :
23+ sdk : ' 2.14.1'
2124
2225 - name : Set environment
2326 run : echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
2427
25- - name : Install melos
26- run : |
27- flutter pub global activate melos
28-
29- - name : Get Dart and Flutter dependencies
28+ - name : Get dependencies
3029 run : |
3130 make dependencies
32- melos bootstrap
3331
3432 - name : Run tests for our dart project.
3533 run : |
Original file line number Diff line number Diff line change @@ -22,16 +22,13 @@ jobs:
2222 target : x86_64-unknown-linux-gnu
2323
2424 steps :
25- - name : Checking out sources
26- uses : actions/checkout@v2
27-
28- - name : Installing needed macOS dependencies
29- if : matrix.os == 'macos-latest'
30- run : make setup-macos
31-
32- - name : Installing needed Ubuntu dependencies
33- if : matrix.os == 'ubuntu-latest'
34- run : make setup-ubuntu
25+ - uses : actions/checkout@v2
26+ - uses : subosito/flutter-action@v1
27+ with :
28+ flutter-version : ' 2.5.0'
29+ - uses : dart-lang/setup-dart@v1
30+ with :
31+ sdk : ' 2.14.1'
3532
3633 - name : Running build for macos
3734 if : matrix.os == 'macos-latest'
Original file line number Diff line number Diff line change 1+ dart 2.14.1
2+ flutter 2.5.0-stable
3+ nodejs 16.9.0
4+
Original file line number Diff line number Diff line change 11setup :
2- flutter channel stable
3- flutter upgrade
42 npm install
53
64dependencies :
@@ -37,15 +35,3 @@ unit-test:
3735coverage :
3836 ./scripts/coverage.sh packages/core
3937 ./scripts/codecov.sh ${CODECOV_TOKEN}
40-
41- setup-ubuntu :
42- sudo apt-get update
43- sudo apt-get install apt-transport-https
44- sudo sh -c ' wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
45- sudo sh -c ' wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
46- sudo apt-get update
47- sudo apt-get install dart
48-
49- setup-macos :
50- brew tap dart-lang/dart
51- brew install dart
You can’t perform that action at this time.
0 commit comments