Skip to content

Commit 7315c70

Browse files
committed
nits
1 parent 6ec6b7a commit 7315c70

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/dart_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: 📦 Install Dependencies
116116
run: |
117-
dart pub global activate very_good_cli 1.1.0
117+
dart pub global activate --source git https://github.com/VeryGoodOpenSource/very_good_cli.git --git-ref feat/report-on-multiple-paths
118118
dart pub get ${{(inputs.no_example && '--no-example') || ''}}
119119
120120
- name: ⚙️ Run Setup
@@ -141,7 +141,7 @@ jobs:
141141
--platform ${{inputs.platform}}
142142
--min-coverage ${{inputs.min_coverage}}
143143
${{inputs.coverage_excludes != '' && format('--exclude-coverage "{0}"', inputs.coverage_excludes) || ''}}
144-
${{format('--report-on {0}', inputs.report_on)}}
144+
$(printf -- '--report-on %s ' ${{inputs.report_on}})
145145
${{inputs.collect_coverage_from != 'imports' && format('--collect-coverage-from {0}', inputs.collect_coverage_from) || ''}}
146146
${{inputs.check_ignore && '--check-ignore' || '--no-check-ignore'}}
147147
${{inputs.show_uncovered && '--show-uncovered' || ''}}

.github/workflows/flutter_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120

121121
- name: 📦 Install Dependencies
122122
run: |
123-
dart pub global activate very_good_cli 1.1.0
123+
dart pub global activate --source git https://github.com/VeryGoodOpenSource/very_good_cli.git --git-ref feat/report-on-multiple-paths
124124
very_good packages get --recursive --ignore=${{inputs.package_get_excludes}}
125125
126126
- name: ⚙️ Run Setup
@@ -148,7 +148,7 @@ jobs:
148148
--coverage
149149
--min-coverage ${{inputs.min_coverage}}
150150
${{inputs.coverage_excludes != '' && format('--exclude-coverage "{0}"', inputs.coverage_excludes) || ''}}
151-
${{format('--report-on {0}', inputs.report_on)}}
151+
$(printf -- '--report-on %s ' ${{inputs.report_on}})
152152
${{inputs.collect_coverage_from != 'imports' && format('--collect-coverage-from {0}', inputs.collect_coverage_from) || ''}}
153153
${{inputs.show_uncovered && '--show-uncovered' || ''}}
154154
${{inputs.run_skipped && '--run-skipped' || ''}}

site/docs/workflows/dart_package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The Dart package workflow consists of the following steps:
7575

7676
### `report_on`
7777

78-
**Optional** A comma-separated list of folders that should be checked in code coverage.
78+
**Optional** A space-separated list of directories to report coverage on.
7979

8080
**Default** `"lib"`
8181

site/docs/workflows/flutter_package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The Flutter package workflow consists of the following steps:
113113

114114
### `report_on`
115115

116-
**Optional** A comma-separated list of folders that should be checked in code coverage.
116+
**Optional** A space-separated list of directories to report coverage on.
117117

118118
**Default** `"lib"`
119119

0 commit comments

Comments
 (0)