From 783ee7f36af8c851420679b44d3c362403e1e485 Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 27 Apr 2025 15:20:26 +0200 Subject: [PATCH] Update dart.yml --- .github/workflows/dart.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 52b7956..073c374 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -26,9 +26,10 @@ jobs: - name: Check Formatting id: check_format run: | - dart format --set-exit-if-changed . || echo "::set-output name=needs_formatting::true" - flutter analyze - + if ! dart format --set-exit-if-changed .; then + echo "needs_formatting=true" >> $GITHUB_OUTPUT + fi + flutter analyze # Standard-Linting format: runs-on: macos-latest needs: lint