Skip to content

Commit 9d45b27

Browse files
committed
code refactor
1 parent 01d3d52 commit 9d45b27

File tree

6 files changed

+70
-296
lines changed

6 files changed

+70
-296
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,41 @@ jobs:
1010
code-quality:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Setup Flutter
1616
uses: subosito/flutter-action@v2
1717
with:
1818
flutter-version: "3.22.2"
1919
channel: "stable"
20+
cache: true
2021

2122
- name: Install dependencies
22-
run: flutter pub get
23+
run: |
24+
flutter pub get
25+
cd example && flutter pub get
2326
2427
- name: Verify formatting
25-
run: dart format --output=none --set-exit-if-changed lib/
28+
run: |
29+
dart format --output=none --set-exit-if-changed lib/
30+
dart format --output=none --set-exit-if-changed example/lib/
31+
dart format --output=none --set-exit-if-changed test/
2632
2733
- name: Analyze project source
28-
run: dart analyze lib/
34+
run: |
35+
dart analyze lib/
36+
dart analyze example/lib/
37+
dart analyze test/
2938
3039
- name: Run tests
31-
run: flutter test
40+
run: |
41+
flutter test
42+
cd example && flutter test
43+
44+
- name: Run build_runner
45+
run: |
46+
dart run build_runner build --delete-conflicting-outputs
47+
cd example && dart run build_runner build --delete-conflicting-outputs
3248
3349
# This job ensures all previous jobs passed
3450
verify-checks:

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# QuantaDB
22

3+
[![Sponsor](https://img.shields.io/badge/Sponsor-%F0%9F%92%96-blueviolet)](https://github.com/sponsors/champ96k)
4+
5+
<iframe src="https://github.com/sponsors/champ96k/button" title="Sponsor champ96k" height="32" width="114" style="border: 0; border-radius: 6px;"></iframe>
6+
37
[![Pub Version](https://img.shields.io/pub/v/quanta_db.svg)](https://pub.dev/packages/quanta_db)
48
[![License](https://img.shields.io/github/license/champ96k/quanta_db)](https://github.com/champ96k/quanta_db/blob/master/LICENSE)
59
[![Dart CI](https://github.com/champ96k/quanta_db/actions/workflows/dart.yml/badge.svg)](https://github.com/champ96k/quanta_db/actions/workflows/dart.yml)
@@ -279,11 +283,13 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
279283
## Contributors
280284

281285
### Code Contributors
286+
282287
<a href="https://github.com/champ96k/quanta_db/graphs/contributors">
283288
<img src="https://contrib.rocks/image?repo=champ96k/quanta_db" />
284289
</a>
285290

286291
### Issue Contributors
292+
287293
<a href="https://github.com/champ96k/quanta_db/issues">
288294
<img src="https://img.shields.io/github/issues/champ96k/quanta_db" alt="Total Issues" />
289295
</a>
@@ -292,7 +298,6 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
292298
<img src="https://img.shields.io/github/issues-closed/champ96k/quanta_db" alt="Closed Issues" />
293299
</a>
294300

295-
296301
<br>
297302

298303
> View all contributors and their issues on our [GitHub Issues page](https://github.com/champ96k/quanta_db/issues)

documentation/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
[![Dart CI](https://github.com/champ96k/quanta_db/actions/workflows/dart.yml/badge.svg)](https://github.com/champ96k/quanta_db/actions/workflows/dart.yml)
66
[![codecov](https://codecov.io/gh/champ96k/quanta_db/branch/master/graph/badge.svg)](https://codecov.io/gh/champ96k/quanta_db)
77
[![Documentation](https://img.shields.io/badge/Documentation-API-blue)](https://quantadb.netlify.app/)
8+
[![Sponsor](https://img.shields.io/badge/Sponsor-%F0%9F%92%96-blueviolet)](https://github.com/sponsors/champ96k)
9+
10+
<iframe src="https://github.com/sponsors/champ96k/button" title="Sponsor champ96k" height="32" width="114" style="border: 0; border-radius: 6px;"></iframe>
811

912
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
1013

0 commit comments

Comments
 (0)