ci: fix flutter warnings

This commit is contained in:
appflowy 2022-02-09 21:56:46 +08:00
parent 08433defd8
commit f872c6c1f8
5 changed files with 4 additions and 11 deletions

View File

@ -44,12 +44,7 @@ jobs:
- name: Install cargo-make
run: cargo install --force cargo-make
working-directory: frontend
- name: Install protobuf tool
run:
cargo make flowy_dev
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
working-directory: frontend
- run: rustup component add clippy
working-directory: frontend/rust-lib
- run: cargo clippy
- run: cargo clippy --no-default-features
working-directory: frontend/rust-lib

View File

@ -32,9 +32,7 @@ jobs:
run: cargo install --force cargo-make
working-directory: frontend
- name: Install protobuf tool
run:
cargo make flowy_dev
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
run: brew install protobuf
working-directory: frontend
- name: RustLib tests
run: cargo test --no-default-features

View File

@ -161,9 +161,7 @@ class AppTheme {
colorScheme: ColorScheme(
brightness: isDark ? Brightness.dark : Brightness.light,
primary: main1,
primaryVariant: main2,
secondary: main2,
secondaryVariant: main2,
background: surface,
surface: surface,
onBackground: surface,

View File

@ -1,4 +1,5 @@
syntax = "proto3";
enum FolderNotification {
Unknown = 0;
UserCreateWorkspace = 10;

View File

@ -1,4 +1,5 @@
syntax = "proto3";
enum FolderEvent {
CreateWorkspace = 0;
ReadCurWorkspace = 1;