@@ -17,10 +17,10 @@ jobs:
1717 - uses : actions/checkout@v2
1818 - uses : subosito/flutter-action@v1
1919 with :
20- flutter-version : ' 2.5.3 '
20+ flutter-version : ' 2.8.1 '
2121 - uses : dart-lang/setup-dart@v1
2222 with :
23- sdk : ' 2.14.4 '
23+ sdk : ' 2.15.0 '
2424
2525 - name : Set environment
2626 if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
@@ -33,15 +33,14 @@ jobs:
3333 - name : Get dependencies for macos and ubuntu
3434 if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
3535 run : |
36- dart pub global activate melos 1.0.0-dev.14
37- melos run pub:get
36+ dart pub global activate melos
37+ melos bootstrap
3838
3939 - name : Get dependencies for Windows
4040 if : startsWith(matrix.os, 'windows')
4141 run : |
42- dart pub global activate melos 1.0.0-dev.14
43- melos exec --flutter -- flutter pub get
44- melos exec --no-flutter -- dart pub get
42+ dart pub global activate melos
43+ melos bootstrap
4544
4645 - name : Run tests for our dart project.
4746 if : startsWith(matrix.os, 'ubuntu')
5655 - name : Generate example
5756 run : |
5857 melos run example:command
58+ # FIXME: https://github.com/invertase/melos/issues/117
59+ dart pub global activate build_runner
5960 melos run example:build_runner
6061
6162 - name : Check for any formatting and statically analyze the code.
0 commit comments