diff --git a/.github/workflows/flutter_package.yml b/.github/workflows/flutter_package.yml index 40b6843..e8d9a1e 100644 --- a/.github/workflows/flutter_package.yml +++ b/.github/workflows/flutter_package.yml @@ -31,6 +31,10 @@ on: required: false type: string default: "80" + format_skip: + required: false + type: boolean + default: false min_coverage: required: false type: number @@ -102,7 +106,9 @@ jobs: - name: ✨ Check Formatting run: dart format --line-length ${{inputs.format_line_length}} --set-exit-if-changed ${{inputs.format_directories}} - + if: "${{inputs.format_skip}} != true}}" + run: dart format --line-length ${{inputs.format_line_length}} --set-exit-if-changed ${{inputs.format_directories}} + - name: 🕵️ Analyze run: flutter analyze ${{inputs.analyze_directories}}