Skip to content

Commit 7122b3b

Browse files
upd
1 parent fb48f2c commit 7122b3b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/on-pr-push-code-check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,21 @@ jobs:
1515
id: check_files
1616
uses: andstor/file-existence-action@v1
1717
with:
18-
files: 'pubspec.yaml'
18+
files:
19+
- 'pubspec.yaml'
20+
- 'tools/add_imports/pubspec.yaml'
1921

2022
- name: Setup dart
2123
if: steps.check_files.outputs.files_exists == 'true'
2224
uses: dart-lang/setup-dart@v1
2325

24-
- name: Get dependencies
26+
- name: Get main dependencies
2527
if: steps.check_files.outputs.files_exists == 'true'
2628
run: dart pub get
2729

28-
- run: dart pub get
30+
- name: Get add_imports dependencies
31+
if: steps.check_files.outputs.files_exists == 'true'
32+
run: dart pub get
2933
working-directory: tools/add_imports
3034

3135
- name: Run static code analysis

0 commit comments

Comments
 (0)