From da6354775ec00ec41d2bf89bd8cfb83fc3a337f5 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 21:33:40 +0200 Subject: [PATCH 01/10] feature: updated dependencies --- .github/workflows/push_check_analyze.yml | 68 ++++++++++ .../workflows/push_check_publish_dry_run.yml | 68 ++++++++++ .github/workflows/push_check_test.yml | 74 +++++++++++ .github/workflows/tag_version_and_publish.yml | 116 ++++++++++++++++++ CHANGELOG.md | 5 + pubspec.yaml | 8 +- 6 files changed, 335 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/push_check_analyze.yml create mode 100644 .github/workflows/push_check_publish_dry_run.yml create mode 100644 .github/workflows/push_check_test.yml create mode 100644 .github/workflows/tag_version_and_publish.yml diff --git a/.github/workflows/push_check_analyze.yml b/.github/workflows/push_check_analyze.yml new file mode 100644 index 0000000..9a7c2cf --- /dev/null +++ b/.github/workflows/push_check_analyze.yml @@ -0,0 +1,68 @@ +name: Push Analyze Check + +on: + push: + branches: + - '**' + - '!master' + +jobs: + push_check_analyze: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: '18.x' + + - name: Install Landa Messenger CLI + run: npm install @landamessenger/landa-messenger-api -g + + - uses: subosito/flutter-action@v1 + with: + channel: 'stable' + flutter-version: '3.24.3' + + - run: flutter pub get + + - run: flutter analyze + + - name: Handle job completion + if: always() + run: | + if [ "${{ job.status }}" == "failure" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🔴 Analysis Failed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_analyze.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + elif [ "${{ job.status }}" == "cancelled" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟠 Analysis Canceled" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_analyze.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + else + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟢 Analysis Passed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_analyze.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + fi + diff --git a/.github/workflows/push_check_publish_dry_run.yml b/.github/workflows/push_check_publish_dry_run.yml new file mode 100644 index 0000000..33bd614 --- /dev/null +++ b/.github/workflows/push_check_publish_dry_run.yml @@ -0,0 +1,68 @@ +name: Push Publish Dry Run Check + +on: + push: + branches: + - '**' + - '!master' + +jobs: + push_check_publish_dry_run: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: '18.x' + + - name: Install Landa Messenger CLI + run: npm install @landamessenger/landa-messenger-api -g + + - uses: subosito/flutter-action@v1 + with: + channel: 'stable' + flutter-version: '3.24.3' + + - run: flutter pub get + + - run: dart pub publish --dry-run + + - name: Handle job completion + if: always() + run: | + if [ "${{ job.status }}" == "failure" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🔴 Dry Publish Failed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_publish_dry_run.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + elif [ "${{ job.status }}" == "cancelled" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟠 Dry Publish Canceled" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_publish_dry_run.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + else + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟢 Dry Publish Passed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_publish_dry_run.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + fi + diff --git a/.github/workflows/push_check_test.yml b/.github/workflows/push_check_test.yml new file mode 100644 index 0000000..f191ad7 --- /dev/null +++ b/.github/workflows/push_check_test.yml @@ -0,0 +1,74 @@ +name: Push Test Check + +on: + push: + branches: + - '**' + - '!master' + +jobs: + push_check_test: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: '18.x' + + - name: Install Landa Messenger CLI + run: npm install @landamessenger/landa-messenger-api -g + + - uses: subosito/flutter-action@v1 + with: + channel: 'stable' + flutter-version: '3.24.3' + + - run: flutter pub get + + - run: flutter test --coverage + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: coverage/lcov.info + + - name: Handle job completion + if: always() + run: | + if [ "${{ job.status }}" == "failure" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🔴 Test Failed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check_test.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + elif [ "${{ job.status }}" == "cancelled" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟠 Test Canceled" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + else + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟢 Test Passed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/push_check.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + fi + diff --git a/.github/workflows/tag_version_and_publish.yml b/.github/workflows/tag_version_and_publish.yml new file mode 100644 index 0000000..f051c94 --- /dev/null +++ b/.github/workflows/tag_version_and_publish.yml @@ -0,0 +1,116 @@ +name: Tag Version and Publish on Push to Master + +on: + push: + branches: + - master + +jobs: + tag_version_and_publish: + + runs-on: self-hosted + + steps: + - uses: actions/checkout@v4 + + - name: Read version from pubspec.yml + id: read_version + run: | + VERSION=$(grep '^version: ' pubspec.yaml | cut -d ' ' -f 2) + echo "VERSION=$VERSION" >> $GITHUB_ENV + + - name: Create tag + id: create_tag + run: | + # Checks if the tag already exists in the remote repository + if git rev-parse "v${{ env.VERSION }}" >/dev/null 2>&1; then + echo "Error: Tag v${{ env.VERSION }} already exists." + exit 1 + fi + + # Check if the version was found + if [ -z "${{ env.VERSION }}" ]; then + echo "Error: No version found in pubspec.yml" + exit 1 + fi + + git tag "v${{ env.VERSION }}" + git push origin "v${{ env.VERSION }}" + + - name: Handle job completion + if: always() + run: | + if [ "${{ job.status }}" == "failure" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🔴 Creation Tag Failed" \ + --body "${{ github.repository }}: Tag v${{ env.VERSION }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + elif [ "${{ job.status }}" == "cancelled" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟠 Creation Tag Canceled" \ + --body "${{ github.repository }}: Tag v${{ env.VERSION }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + else + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟢 Creation Tag Passed" \ + --body "${{ github.repository }}: Tag v${{ env.VERSION }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + fi + + - run: flutter pub get + + - run: dart pub publish --dry-run + + - run: dart pub publish -f + + - name: Handle publish job completion + if: always() + run: | + if [ "${{ job.status }}" == "failure" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🔴 Pub Publish Failed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + elif [ "${{ job.status }}" == "cancelled" ]; then + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟠 Pub Publish Canceled" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + else + landa-messenger-api chat-send \ + --id "${{ secrets.CHAT_ID }}" \ + --api_key "${{ secrets.CHAT_KEY }}" \ + --title "🟢 Pub Publish Passed" \ + --body "${{ github.repository }}: ${{ github.event.head_commit.message }}" \ + --url "https://github.com/landamessenger/firebase_cloud_firestore/actions/workflows/tag_version_and_publish.yml" \ + --image "https://avatars.githubusercontent.com/u/63705403?s=200&v=4" \ + --background_color "#55000000" \ + --text_color "#FFFFFFFF" + fi + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 66bfa16..6ea30fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 5.4.4 + +* Bump `object` version to `1.2.6`. +* Bump `cloud_firestore` version to `5.4.4`. + ## 5.4.0 * Bump `object` version to `1.1.1`. diff --git a/pubspec.yaml b/pubspec.yaml index 9d2527f..f8e006d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: firebase_cloud_firestore description: "Simplify the serialization of objects for cloud_firestore in a Flutter app. It streamlines the process of converting Dart objects into formats compatible with cloud_firestore, making data storage and retrieval smoother and more efficient for developers." -version: 5.4.0 +version: 5.4.4 homepage: https://landamessenger.com repository: https://github.com/landamessenger/firebase_cloud_firestore @@ -11,12 +11,12 @@ environment: dependencies: flutter: sdk: flutter - cloud_firestore: ^5.4.0 # android ios macos web windows - object: ^1.1.1 # android ios linux macos web windows + cloud_firestore: ^5.4.4 # android ios macos web windows + object: ^1.2.6 # android ios linux macos web windows dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: From c69a9340ec9702b79c3febc12cbb00d92430936f Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 22:11:31 +0200 Subject: [PATCH 02/10] feature: fixed dart analysis --- lib/firebase_cloud_firestore.dart | 2 +- lib/src/fire/firestore_collection_manager.dart | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/firebase_cloud_firestore.dart b/lib/firebase_cloud_firestore.dart index 86356ef..85ed81d 100644 --- a/lib/firebase_cloud_firestore.dart +++ b/lib/firebase_cloud_firestore.dart @@ -1,4 +1,4 @@ -library firebase_cloud_firestore; +library; export 'package:cloud_firestore/cloud_firestore.dart'; export 'package:object/object.dart'; diff --git a/lib/src/fire/firestore_collection_manager.dart b/lib/src/fire/firestore_collection_manager.dart index 930067f..7dc09ac 100644 --- a/lib/src/fire/firestore_collection_manager.dart +++ b/lib/src/fire/firestore_collection_manager.dart @@ -185,9 +185,13 @@ class FirestoreCollectionManager> * Execute callbacks */ if (removed.isNotEmpty) await deletionCallback?.call(removed, page); - if (changed.isNotEmpty) + if (changed.isNotEmpty) { await callback?.call( - changed, page, collectionPages[page]?.hasMore ?? false); + changed, + page, + collectionPages[page]?.hasMore ?? false, + ); + } } Future nextCollectionPage({ From c2d9e19dd7710859d6c130afe0e9a9426d927426 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 22:22:24 +0200 Subject: [PATCH 03/10] feature: updated workflows --- .github/workflows/push_check_publish_dry_run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push_check_publish_dry_run.yml b/.github/workflows/push_check_publish_dry_run.yml index 33bd614..6776fd4 100644 --- a/.github/workflows/push_check_publish_dry_run.yml +++ b/.github/workflows/push_check_publish_dry_run.yml @@ -29,7 +29,7 @@ jobs: - run: flutter pub get - - run: dart pub publish --dry-run + - run: dart pub publish --dry-run --verbose - name: Handle job completion if: always() From f93eb4518bbec66a07d9234ff6cdf85d5b33311f Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 22:29:03 +0200 Subject: [PATCH 04/10] feature: updated pubspec.yaml --- pubspec.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index f8e006d..eb8352f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,5 +18,3 @@ dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^5.0.0 - -flutter: From 8b9c750bf2f16927e74957ec173b655ef19a269b Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 22:42:09 +0200 Subject: [PATCH 05/10] feature: fixed publish --dry-run --- .github/workflows/push_check_publish_dry_run.yml | 2 +- analysis_options.yaml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push_check_publish_dry_run.yml b/.github/workflows/push_check_publish_dry_run.yml index 6776fd4..33bd614 100644 --- a/.github/workflows/push_check_publish_dry_run.yml +++ b/.github/workflows/push_check_publish_dry_run.yml @@ -29,7 +29,7 @@ jobs: - run: flutter pub get - - run: dart pub publish --dry-run --verbose + - run: dart pub publish --dry-run - name: Handle job completion if: always() diff --git a/analysis_options.yaml b/analysis_options.yaml index a5744c1..2966164 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,4 +1,8 @@ +analyzer: + errors: + dangling_library_doc_comments: ignore include: package:flutter_lints/flutter.yaml -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options +linter: + rules: + avoid_print: false \ No newline at end of file From dd59661ae871fa9ca2bbe8a5c45da54a354a2661 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 22:46:09 +0200 Subject: [PATCH 06/10] feature: updated workflow --- .github/workflows/tag_version_and_publish.yml | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tag_version_and_publish.yml b/.github/workflows/tag_version_and_publish.yml index f051c94..541659f 100644 --- a/.github/workflows/tag_version_and_publish.yml +++ b/.github/workflows/tag_version_and_publish.yml @@ -1,12 +1,15 @@ name: Tag Version and Publish on Push to Master on: - push: + pull_request: + types: + - closed branches: - master jobs: tag_version_and_publish: + if: github.event.pull_request.merged == true runs-on: self-hosted @@ -22,20 +25,24 @@ jobs: - name: Create tag id: create_tag run: | - # Checks if the tag already exists in the remote repository + # Check if the tag already exists in the remote repository if git rev-parse "v${{ env.VERSION }}" >/dev/null 2>&1; then - echo "Error: Tag v${{ env.VERSION }} already exists." - exit 1 - fi - - # Check if the version was found - if [ -z "${{ env.VERSION }}" ]; then - echo "Error: No version found in pubspec.yml" - exit 1 + echo "Tag v${{ env.VERSION }} already exists." + else + # Create and push the new tag + git tag "v${{ env.VERSION }}" + git push origin "v${{ env.VERSION }}" fi - git tag "v${{ env.VERSION }}" - git push origin "v${{ env.VERSION }}" + - name: Create release + if: ${{ steps.create_tag.outcome == 'success' }} + uses: softprops/action-gh-release@v2 + with: + tag_name: "v${{ env.VERSION }}" + name: "${{ github.event.pull_request.title }}" + body: "${{ github.event.pull_request.body }}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Handle job completion if: always() From 99b01e8c7c875c8ac369fd23a7512ff88a6e88f0 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 23:02:14 +0200 Subject: [PATCH 07/10] feature: updated workflow --- .github/workflows/push_check_publish_dry_run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push_check_publish_dry_run.yml b/.github/workflows/push_check_publish_dry_run.yml index 33bd614..6776fd4 100644 --- a/.github/workflows/push_check_publish_dry_run.yml +++ b/.github/workflows/push_check_publish_dry_run.yml @@ -29,7 +29,7 @@ jobs: - run: flutter pub get - - run: dart pub publish --dry-run + - run: dart pub publish --dry-run --verbose - name: Handle job completion if: always() From ad973cf62e68aa416fc5b5431a6bfcdb34e98905 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 23:09:33 +0200 Subject: [PATCH 08/10] feature: updated analysis_options.yaml --- analysis_options.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index 2966164..c56452d 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,5 +1,6 @@ analyzer: errors: + invalid_runtime_check_with_js_interop_types: ignore dangling_library_doc_comments: ignore include: package:flutter_lints/flutter.yaml From 9492885c8153b97b07b721ef41bc89b7973132da Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 23:11:58 +0200 Subject: [PATCH 09/10] feature: flutter_lints downgrade --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index eb8352f..cfce564 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,4 +17,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ^4.0.0 From 81a2e4ccda4fef4bd20369b8e00d5c50168273a1 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Sun, 13 Oct 2024 23:13:03 +0200 Subject: [PATCH 10/10] feature: updated workflows --- .github/workflows/push_check_publish_dry_run.yml | 2 +- analysis_options.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push_check_publish_dry_run.yml b/.github/workflows/push_check_publish_dry_run.yml index 6776fd4..33bd614 100644 --- a/.github/workflows/push_check_publish_dry_run.yml +++ b/.github/workflows/push_check_publish_dry_run.yml @@ -29,7 +29,7 @@ jobs: - run: flutter pub get - - run: dart pub publish --dry-run --verbose + - run: dart pub publish --dry-run - name: Handle job completion if: always() diff --git a/analysis_options.yaml b/analysis_options.yaml index c56452d..2966164 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,6 +1,5 @@ analyzer: errors: - invalid_runtime_check_with_js_interop_types: ignore dangling_library_doc_comments: ignore include: package:flutter_lints/flutter.yaml