Skip to content

Commit a91dece

Browse files
luanpotterkerberjg
authored andcommitted
ci: Fix GitHub Actions not respecting globs
1 parent cb2f2c2 commit a91dece

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/_base-dart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: "dart format"
3737
run: |
3838
echo "Checking Dart formatting...\nFiles displayed below:"
39-
dart format -o none --set-exit-if-changed ./lib/**/*.dart
40-
dart format -o none --set-exit-if-changed ./test/**/*.dart
39+
dart format -o none --set-exit-if-changed ./lib/
40+
dart format -o none --set-exit-if-changed ./test/
4141
echo "No formatting issues found."
4242
working-directory: ${{ inputs.path }}
4343

@@ -58,8 +58,8 @@ jobs:
5858

5959
- name: Run analysis
6060
run: |
61-
dart analyze --fatal-warnings ./lib/**/*.dart
62-
dart analyze --fatal-warnings ./test/**/*.dart
61+
dart analyze --fatal-warnings ./lib/
62+
dart analyze --fatal-warnings ./test/
6363
working-directory: ${{ inputs.path }}
6464

6565
check-tests:

0 commit comments

Comments
 (0)