Skip to content

Commit a129f0b

Browse files
committed
ci: Add formatting check and exclude mocks from analysis
1 parent 0586005 commit a129f0b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Analyze code
4949
run: dart analyze packages/dart --fatal-infos
5050
- name: Lint
51-
run: dart format packages/dart
51+
run: dart format --output=none --set-exit-if-changed packages/dart
5252
- name: Publish dry run
5353
run: cd packages/dart && dart pub publish --dry-run
5454
- name: Run tests
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
include: package:lints/recommended.yaml
2+
3+
analyzer:
4+
exclude:
5+
- "*.mocks.dart"

0 commit comments

Comments
 (0)