ci: dartfmt params

This commit is contained in:
Rongjian Zhang 2020-04-18 15:59:20 +08:00
parent d6a321d6ca
commit 0864af7855
1 changed files with 1 additions and 7 deletions

View File

@ -11,10 +11,4 @@ jobs:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- run: |
output=$(dartfmt --dry-run lib/**/*.dart)
if [ -z $output]
then exit 0
else
exit 1
fi
- run: dartfmt --dry-run --set-exit-if-changed lib/**/*.dart