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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
ci: run actions when specified files changed.
appflowy7d93ed8e8191
diff --git a/.github/workflows/dart_lint.yml b/.github/workflows/dart_lint.ymlindex 44e0efdfdc..25c4990cac 100644--- a/.github/workflows/dart_lint.yml+++ b/.github/workflows/dart_lint.yml@@ -8,9 +8,12 @@ name: Flutter linton:push:branches: [ main ]+ paths:+ - 'frontend/app_flowy'pull_request:branches: [ main ]-+ paths:+ - 'frontend/app_flowy'env:CARGO_TERM_COLOR: always@@ -25,10 +28,10 @@ jobs:- uses: subosito/flutter-action@v1with:channel: "stable"- - name: Flutter pub get+ - name: Deps Flutterrun: flutter pub getworking-directory: frontend/app_flowy- - name: Generate language files+ - name: Code Generateworking-directory: frontend/app_flowyrun:flutter pub run easy_localization:generate --source-dir ./assets/translations -f keys -O lib/generated -o locale_keys.g.dartdiff --git a/.github/workflows/dart_test.yml b/.github/workflows/dart_test.ymlindex 4bf456dc95..6106126cee 100644--- a/.github/workflows/dart_test.yml+++ b/.github/workflows/dart_test.yml@@ -6,7 +6,6 @@ on:pull_request:branches: [ main ]-env:CARGO_TERM_COLOR: always@@ -41,7 +40,7 @@ jobs:run: |flutter config --enable-linux-desktopcargo make --profile development-linux-x86 flowy-sdk-dev- - name: Bloc Test+ - name: Run bloc testsworking-directory: frontend/app_flowyrun: |flutter testdiff --git a/.github/workflows/rust_test.yml b/.github/workflows/rust_test.ymlindex ec7dd72f49..0321d5f9bc 100644--- a/.github/workflows/rust_test.yml+++ b/.github/workflows/rust_test.yml@@ -3,14 +3,14 @@ name: Unit test(Rust)on:push:branches: [ main ]-# paths:-# - 'frontend/rust-lib'-# - 'shared-lib'+ paths:+ - 'frontend/rust-lib'+ - 'shared-lib'pull_request:branches: [ main ]-# paths:-# - 'frontend/rust-lib'-# - 'shared-lib'+ paths:+ - 'frontend/rust-lib'+ - 'shared-lib'env:CARGO_TERM_COLOR: always@@ -31,9 +31,9 @@ jobs:- name: Install cargo-makerun: cargo install --force cargo-makeworking-directory: frontend- - name: RustLib tests+ - name: Run rust-lib testsrun: cargo test --no-default-featuresworking-directory: frontend/rust-lib- - name: Sharedlib tests+ - name: Run shared-lib testsrun: cargo test --no-default-featuresworking-directory: shared-lib