Skip to content

Commit

Permalink
fix: upgrade flutter_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
roiskhoiron committed May 28, 2024
1 parent d6f4907 commit e30b521
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/flutter_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Generate coverage report
run: |
flutter pub global activate lcov
flutter pub global activate coverage
genhtml coverage/lcov.info -o coverage/html
- name: Upload coverage report artifact
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:

- name: Generate coverage report
run: |
flutter pub global activate lcov
flutter pub global activate coverage
genhtml coverage/lcov.info -o coverage/html
- name: Upload coverage report artifact
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:

- name: Generate coverage report
run: |
flutter pub global activate lcov
flutter pub global activate coverage
genhtml coverage/lcov.info -o coverage/html
- name: Upload coverage report artifact
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:

- name: Generate coverage report
run: |
flutter pub global activate lcov
flutter pub global activate coverage
genhtml coverage/lcov.info -o coverage/html
- name: Upload coverage report artifact
uses: actions/upload-artifact@v2
Expand Down
4 changes: 0 additions & 4 deletions linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

#include "generated_plugin_registrant.h"

#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar);
}
1 change: 0 additions & 1 deletion linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
sqlite3_flutter_libs
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down
2 changes: 0 additions & 2 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import FlutterMacOS
import Foundation

import sqflite
import sqlite3_flutter_libs

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
}
24 changes: 16 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.6"
dlcov:
dependency: "direct main"
description:
name: dlcov
sha256: ae47fd6d530012d018e5ea44c6257bffd9ef7aee2654150225c5ea29e91e3e7b
url: "https://pub.dev"
source: hosted
version: "4.2.1"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -314,6 +322,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.8.1"
lcov_parser:
dependency: transitive
description:
name: lcov_parser
sha256: b2a4225376e47630dbe71217bcf2296e1d79b50e6c20781c0304094b8be05968
url: "https://pub.dev"
source: hosted
version: "0.1.2"
leak_tracker:
dependency: transitive
description:
Expand Down Expand Up @@ -519,14 +535,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.4.2"
sqlite3_flutter_libs:
dependency: "direct main"
description:
name: sqlite3_flutter_libs
sha256: "1e62698dc1ab396152ccaf3b3990d826244e9f3c8c39b51805f209adcd6dbea3"
url: "https://pub.dev"
source: hosted
version: "0.5.22"
stack_trace:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
coverage: ^1.8.0

dev_dependencies:
flutter_test:
Expand Down
3 changes: 0 additions & 3 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

#include "generated_plugin_registrant.h"

#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
Sqlite3FlutterLibsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin"));
}
1 change: 0 additions & 1 deletion windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
sqlite3_flutter_libs
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down

0 comments on commit e30b521

Please sign in to comment.