Skip to content

Commit 15d7f85

Browse files
Alex KocharyanArmen
authored andcommitted
Updated ci.yml
Exclude files in 'example/lib/' from the workflow in order to remove unnecessary warnings
1 parent f258901 commit 15d7f85

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
name: CI
22

33
on:
4+
push:
5+
paths-ignore:
6+
- 'example/lib/**'
47
pull_request:
8+
paths-ignore:
9+
- 'example/lib/**'
510
branches: '*'
6-
push:
7-
branches: [master]
811

912
jobs:
1013
ci:
@@ -17,7 +20,7 @@ jobs:
1720
- name: Install dependencies
1821
run: flutter pub get
1922
- name: Format code
20-
run: dart format --line-length 120 --set-exit-if-changed .
23+
run: dart format --line-length 120 --set-exit-if-changed lib test
2124
- name: Analyze code
2225
run: flutter analyze
2326
# Skip tests for now

0 commit comments

Comments
 (0)