mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 06:37:14 -04:00
ci: fix flutter warnings
This commit is contained in:
parent
08433defd8
commit
f872c6c1f8
5 changed files with 4 additions and 11 deletions
7
.github/workflows/rust_lint.yml
vendored
7
.github/workflows/rust_lint.yml
vendored
|
@ -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
|
4
.github/workflows/rust_test.yml
vendored
4
.github/workflows/rust_test.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
syntax = "proto3";
|
||||
|
||||
enum FolderNotification {
|
||||
Unknown = 0;
|
||||
UserCreateWorkspace = 10;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
syntax = "proto3";
|
||||
|
||||
enum FolderEvent {
|
||||
CreateWorkspace = 0;
|
||||
ReadCurWorkspace = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue