mirror of
https://github.com/git-touch/git-touch
synced 2025-03-05 03:37:42 +01:00
ci: dartfmt params
This commit is contained in:
parent
d6a321d6ca
commit
0864af7855
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user