Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: fix github actions

appflowy68f7f25ca89d
diff --git a/.github/workflows/dart_lint.yml b/.github/workflows/dart_lint.yml
index ca0536906e..bd7eac7969 100644
--- a/.github/workflows/dart_lint.yml
+++ b/.github/workflows/dart_lint.yml
@@ -25,6 +25,10 @@ jobs:
with:
flutter-version: '3.0.0'
channel: "stable"
+ - name: Build FlowySDK
+ working-directory: frontend
+ run: |
+ cargo make --profile development-linux-x86 flowy-sdk-dev
- name: Deps Flutter
run: flutter packages pub get
working-directory: frontend/app_flowy
diff --git a/.github/workflows/rust_lint.yml b/.github/workflows/rust_lint.yml
index ac650b197b..3be0862b88 100644
--- a/.github/workflows/rust_lint.yml
+++ b/.github/workflows/rust_lint.yml
@@ -17,25 +17,24 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- with:
- toolchain: 'stable-2022-01-20'
- override: true
+ with:
+ toolchain: 'stable-2022-01-20'
+ override: true
+ - name: Build FlowySDK
+ working-directory: frontend
+ run: |
+ cargo make --profile development-linux-x86 flowy-sdk-dev
+
- run: rustup component add rustfmt
working-directory: frontend/rust-lib
- - run: cargo fmt --all -- --check
+ - name: rustfmt
+ run: cargo fmt --all -- --check
working-directory: frontend/rust-lib/
- rust-clippy:
- runs-on: ubuntu-latest
- name: Clippy
- steps:
- - uses: actions/checkout@v2
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: 'stable-2022-01-20'
- override: true
- run: rustup component add clippy
+ working-directory: frontend/rust-lib
+ - name: clippy
+ run: cargo clippy --no-default-features
working-directory: frontend/rust-lib
- - run: cargo clippy --no-default-features
- working-directory: frontend/rust-lib
\ No newline at end of file
+