File tree Expand file tree Collapse file tree 3 files changed +43
-4
lines changed Expand file tree Collapse file tree 3 files changed +43
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ merge_group :
9+ branches : [ main ]
10+
11+ jobs :
12+ build :
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, windows-latest, macos-latest]
16+ runs-on : ${{ matrix.os }}
17+
18+ steps :
19+ - uses : actions/checkout@v3
20+ - uses : dart-lang/setup-dart@v1
21+
22+ - name : Install dependencies
23+ run : dart pub get
24+
25+ - name : Verify formatting
26+ run : dart format --output=none --set-exit-if-changed .
27+
28+ - name : Analyze project source
29+ run : dart analyze
30+
31+ - name : Run tests with coverage
32+ run : dart run coverage:test_with_coverage
33+
34+ - uses : codecov/codecov-action@v3
35+ with :
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ file : coverage/lcov.info
38+ name : Upload to codecov.io
39+ verbose : true
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ analyzer:
1818 exclude :
1919 - " **/*.g.dart"
2020 - " **/*.freezed.dart"
21- strong-mode :
22- implicit-casts : false
23- implicit-dynamic : false
21+ language :
22+ strict-raw-types : true
23+ strict-casts : true
2424 errors :
2525 invalid_annotation_target : ignore # for freezed
2626 missing_required_param : warning
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ environment:
77 sdk : ' >=2.17.0 <3.0.0'
88
99dependencies :
10- cbor : ^5 .0.1
10+ cbor : ^6 .0.0
1111 collection : ^1.16.0
1212 meta : ^1.7.0
1313
You can’t perform that action at this time.
0 commit comments