File tree Expand file tree Collapse file tree 4 files changed +40
-13
lines changed Expand file tree Collapse file tree 4 files changed +40
-13
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,20 @@ jobs:
23
23
run : dart analyze .
24
24
25
25
- name : Install DCM
26
- run : |
27
- sudo apt-get update
28
- wget -qO- https://dcm.dev/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/dcm.gpg
29
- echo 'deb [signed-by=/usr/share/keyrings/dcm.gpg arch=amd64] https://dcm.dev/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list
30
- sudo apt-get update
31
- sudo apt-get install dcm
32
-
33
- - name : DCM Analyze
34
- run : dcm analyze --reporter=github --ci-key ${{ secrets.DCM_KEY }} --email ${{ secrets.DCM_EMAIL }} --fatal-style --fatal-performance --fatal-warnings .
26
+ uses : CQLabs/setup-dcm@v1.0.0
27
+ with :
28
+ github_token : ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ - name : Run DCM
31
+ uses : CQLabs/dcm-action@v1.0.0
32
+ with :
33
+ github_token : ${{ secrets.GITHUB_TOKEN }}
34
+ ci_key : ${{ secrets.DCM_KEY }}
35
+ email : ${{ secrets.DCM_EMAIL }}
36
+ folders : .
37
+ fatal_style : true
38
+ fatal_performance : true
39
+ fatal_warnings : true
35
40
36
41
- name : Dry Publish
37
42
run : dart pub publish --dry-run
Original file line number Diff line number Diff line change 1
- ## 2.1 .0
1
+ ## 3.0 .0
2
2
- Adhere to DCM 1.7.0:
3
- -
3
+ - Add avoid-accessing-other-classes-private-members
4
+ - Add avoid-generics-shadowing
5
+ - Add avoid-keywords-in-wildcard-pattern
6
+ - Add avoid-misused-wildcard-pattern
7
+ - Add avoid-nested-futures
8
+ - Add avoid-nested-streams-and-futures
9
+ - Add avoid-shadowed-extension-methods
10
+ - Add avoid-uncaught-future-errors
11
+ - Add avoid-unnecessary-call
12
+ - Add avoid-unnecessary-futures
13
+ - Add map-keys-ordering
14
+ - Add no-equal-nested-conditions
15
+ - Add prefer-correct-future-return-type
16
+ - Add prefer-correct-stream-return-type
17
+ - Add prefer-parentheses-with-if-null
18
+ - Add prefer-trailing-comma
19
+ - Add avoid-missing-image-alt
20
+ - Add avoid-unnecessary-overrides-in-state
21
+ - Add prefer-dedicated-media-query-methods
22
+ - Update allow-false for no-boolean-literal-compare
23
+ - Disable in tests avoid-non-ascii-symbols
24
+ - Disable in tests prefer-moving-to-variable
25
+ - Remove avoid-long-parameter-list
4
26
5
27
## 2.0.1
6
28
- Fix README logo
Original file line number Diff line number Diff line change 1
- # version 1.6 .0 - https://dcm.dev/changelog/
1
+ # version 1.7 .0 - https://dcm.dev/changelog/
2
2
dart_code_metrics :
3
3
pubspec-rules :
4
4
# ## Pubspec
Original file line number Diff line number Diff line change 1
1
name : netglade_analysis
2
- version : 2 .0.1
2
+ version : 3 .0.0
3
3
description : Lint rules for Dart and Flutter used internally at netglade.
4
4
repository : https://github.com/netglade/netglade_analysis
5
5
issue_tracker : https://github.com/netglade/netglade_analysis/issues
You can’t perform that action at this time.
0 commit comments