From f9a6eb12c096bf5d661a7ff5378bf04d1f3250bd Mon Sep 17 00:00:00 2001 From: Mike Rydstrom Date: Thu, 18 Nov 2021 00:10:05 +0200 Subject: [PATCH] Fix dart format and less CI/CD on pull request - only test and format validation --- .github/workflows/deploy.yml | 2 +- .github/workflows/validate.yaml | 1 + example/lib/shared/controllers/theme_controller.dart | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1444fee6b..c8e239557 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,7 @@ on: paths-ignore: - "**.md" pull_request: - branches: [ master ] + branches: [ none ] paths-ignore: - "**.md" release: diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 2ec35c498..977740acb 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -1,6 +1,7 @@ name: Validate on: pull_request: + branches: [none] push: branches: [none] paths-ignore: diff --git a/example/lib/shared/controllers/theme_controller.dart b/example/lib/shared/controllers/theme_controller.dart index 40cff3f42..7ffc3b096 100644 --- a/example/lib/shared/controllers/theme_controller.dart +++ b/example/lib/shared/controllers/theme_controller.dart @@ -274,8 +274,7 @@ class ThemeController with ChangeNotifier { } late FlexInputBorderType _inputDecoratorBorderType; - FlexInputBorderType get inputDecoratorBorderType => - _inputDecoratorBorderType; + FlexInputBorderType get inputDecoratorBorderType => _inputDecoratorBorderType; Future setInputDecoratorBorderType(FlexInputBorderType? value, [bool notify = true]) async { if (value == null) return;