File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Cognitive Complexity Audit
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ workflow_dispatch :
7+
8+ jobs :
9+ audit :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ pull-requests : write
13+ contents : read
14+ steps :
15+ - name : Checkout Codebase
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Setup Dart SDK
21+ uses : dart-lang/setup-dart@v1
22+
23+ - name : Run Complexity Scanner
24+ uses : kevmoo/analytica.dart/packages/cognitive_complexity@main
25+ with :
26+ diff-base : origin/${{ github.base_ref }}
27+ fail-threshold : 15
28+ fail-on-increase : true
Original file line number Diff line number Diff line change 1+ name : Dependency Lower-Bound Validation
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ workflow_dispatch :
7+
8+ jobs :
9+ validate :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ pull-requests : write
13+ contents : read
14+ steps :
15+ - name : Checkout Codebase
16+ uses : actions/checkout@v4
17+
18+ - name : Setup Dart SDK
19+ uses : dart-lang/setup-dart@v1
20+
21+ - name : Run Lower-Bound Validator
22+ uses : kevmoo/analytica.dart/packages/lower_bound@main
23+ with :
24+ format : ' github'
25+ fail-on-error : ' true'
Original file line number Diff line number Diff line change @@ -8,9 +8,8 @@ analyzer:
88 - web/**
99 - windows/**
1010 - macos/**
11- - linux/**
1211 language :
13- strict-casts : true
12+ strict-raw-types : true
1413
1514linter :
1615 rules :
You can’t perform that action at this time.
0 commit comments