Selaa lähdekoodia

ci: switch to flutter stable channel

appflowy 3 vuotta sitten
vanhempi
commit
ddc2926c9b

+ 0 - 2
.github/workflows/ci.yaml

@@ -26,7 +26,6 @@ jobs:
           flutter channel stable
           flutter config --enable-macos-desktop
           flutter doctor
-          dart pub global activate protoc_plugin
       - name: Deps
         working-directory: frontend
         run: |
@@ -68,7 +67,6 @@ jobs:
           flutter channel stable
           flutter config --enable-linux-desktop
           flutter doctor
-          dart pub global activate protoc_plugin
       - name: Deps
         working-directory: frontend
         run: |

+ 1 - 2
.github/workflows/dart_lint.yml

@@ -24,12 +24,11 @@ jobs:
         uses: actions/checkout@v2
       - uses: subosito/flutter-action@v1
         with:
-          channel: "dev"
+          channel: "stable"
       - name: Generate language files
         working-directory: frontend/app_flowy
         run:
           flutter pub get
-          flutter pub add easy_localization
           flutter pub run easy_localization:generate -S assets/translations/
           flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
       - name: flutter analyze

+ 1 - 1
.github/workflows/rust_lint.yml

@@ -35,7 +35,7 @@ jobs:
           toolchain: stable
           override: true
       - name: Install protobuf tool
-      - run:
+        run:
           cargo install --force cargo-make
           cargo make flowy_dev
           echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH

+ 4 - 4
.github/workflows/rust_test.yml

@@ -1,4 +1,4 @@
-name: RustLint
+name: RustUnitTest
 
 on:
   push:
@@ -23,14 +23,14 @@ jobs:
           rustup toolchain install stable
           rustup default stable
       - name: Install protobuf tool
-      - run:
+        run:
           cargo install --force cargo-make
           cargo make flowy_dev
           echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
         working-directory: frontend
       - name: Frontend tests
-        working-directory: frontend/rust-lib
         run: cargo test
+        working-directory: frontend/rust-lib
       - name: Shared-lib tests
-        working-directory: shared-lib
         run: cargo test
+        working-directory: shared-lib