Update flutter.yml
This commit is contained in:
3
.github/workflows/flutter.yml
vendored
3
.github/workflows/flutter.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
if ! dart format --set-exit-if-changed .; then
|
if ! dart format --set-exit-if-changed .; then
|
||||||
echo "needs_formatting=true" >> $GITHUB_OUTPUT
|
echo "needs_formatting=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
flutter analyze # Standard-Linting
|
flutter analyze
|
||||||
format:
|
format:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: lint
|
needs: lint
|
||||||
@@ -33,7 +33,6 @@ jobs:
|
|||||||
(needs.lint.result == 'failure' &&
|
(needs.lint.result == 'failure' &&
|
||||||
needs.lint.outputs.needs_formatting == 'true') &&
|
needs.lint.outputs.needs_formatting == 'true') &&
|
||||||
github.event_name == 'push' &&
|
github.event_name == 'push' &&
|
||||||
# github.ref == 'refs/heads/develop'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user