mirror of
https://github.com/git-touch/git-touch
synced 2025-03-05 19:57: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
|
image: google/dart:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: |
|
- run: dartfmt --dry-run --set-exit-if-changed lib/**/*.dart
|
||||||
output=$(dartfmt --dry-run lib/**/*.dart)
|
|
||||||
if [ -z $output]
|
|
||||||
then exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user