Update dart.yml
This commit is contained in:
7
.github/workflows/dart.yml
vendored
7
.github/workflows/dart.yml
vendored
@@ -26,9 +26,10 @@ jobs:
|
|||||||
- name: Check Formatting
|
- name: Check Formatting
|
||||||
id: check_format
|
id: check_format
|
||||||
run: |
|
run: |
|
||||||
dart format --set-exit-if-changed . || echo "::set-output name=needs_formatting::true"
|
if ! dart format --set-exit-if-changed .; then
|
||||||
flutter analyze
|
echo "needs_formatting=true" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
flutter analyze # Standard-Linting
|
||||||
format:
|
format:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: lint
|
needs: lint
|
||||||
|
|||||||
Reference in New Issue
Block a user