diff --git a/.github/workflows/flutter_build_example.yml b/.github/workflows/flutter_build_example.yml index 9608adc..44e419e 100644 --- a/.github/workflows/flutter_build_example.yml +++ b/.github/workflows/flutter_build_example.yml @@ -5,13 +5,13 @@ on: pull_request: push: branches: - - main + - '**' jobs: build_android: name: Build example for Android runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 20 steps: - name: Checkout repository uses: actions/checkout@v7 @@ -35,6 +35,7 @@ jobs: run: flutter pub get - name: Flutter build appbundle + timeout-minutes: 10 run: | cd example flutter build appbundle --release diff --git a/.github/workflows/flutter_checks.yml b/.github/workflows/flutter_checks.yml index 4726e50..ba4248a 100644 --- a/.github/workflows/flutter_checks.yml +++ b/.github/workflows/flutter_checks.yml @@ -5,12 +5,12 @@ on: pull_request: push: branches: - - main + - '**' jobs: check_pub_dependencies: name: Check dependencies - timeout-minutes: 10 + timeout-minutes: 20 runs-on: ubuntu-latest steps: - name: Checkout repository @@ -26,12 +26,13 @@ jobs: run: flutter config --no-analytics - name: Flutter pub get + timeout-minutes: 10 run: flutter pub get check_formatting: name: Check formatting runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 20 steps: - name: Checkout repository uses: actions/checkout@v7 @@ -49,11 +50,12 @@ jobs: run: flutter pub get - name: Check Dart formatting + timeout-minutes: 10 run: dart format --set-exit-if-changed . analyze: name: Dart analyze - timeout-minutes: 10 + timeout-minutes: 20 runs-on: ubuntu-latest steps: - name: Checkout repository @@ -72,12 +74,13 @@ jobs: run: flutter pub get - name: Run Dart analyze + timeout-minutes: 10 run: dart analyze --fatal-infos test: name: Flutter test runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 20 steps: - name: Checkout repository uses: actions/checkout@v7 @@ -95,12 +98,13 @@ jobs: run: flutter pub get - name: Flutter test + timeout-minutes: 10 run: flutter test test_example: name: Flutter test example runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 20 steps: - name: Checkout repository uses: actions/checkout@v7 @@ -120,6 +124,7 @@ jobs: flutter pub get - name: Flutter test example + timeout-minutes: 10 run: | cd example flutter test diff --git a/.github/workflows/integration_tests_android.yml b/.github/workflows/integration_tests_android.yml index 4eb2506..45d7083 100644 --- a/.github/workflows/integration_tests_android.yml +++ b/.github/workflows/integration_tests_android.yml @@ -3,13 +3,35 @@ name: Integration Tests (Android) on: workflow_dispatch: pull_request: + paths-ignore: + - '**.md' + - 'LICENSE' + - '.github/dependabot.yml' + - '.github/workflows/flutter_build_example.yml' + - '.github/workflows/flutter_checks.yml' + - '.github/workflows/pub_publish.yml' + - '.github/workflows/pub_publish_dry_run.yml' + - '.github/workflows/pub_score.yml' + - 'analysis_options.yaml' + - 'test/**' + - 'example/analysis_options.yaml' + - 'example/test/**' push: branches: - - main - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + - '**' + paths-ignore: + - '**.md' + - 'LICENSE' + - '.github/dependabot.yml' + - '.github/workflows/flutter_build_example.yml' + - '.github/workflows/flutter_checks.yml' + - '.github/workflows/pub_publish.yml' + - '.github/workflows/pub_publish_dry_run.yml' + - '.github/workflows/pub_score.yml' + - 'analysis_options.yaml' + - 'test/**' + - 'example/analysis_options.yaml' + - 'example/test/**' jobs: integration_test: diff --git a/.github/workflows/pub_publish_dry_run.yml b/.github/workflows/pub_publish_dry_run.yml index 58ac4b6..d5680c6 100644 --- a/.github/workflows/pub_publish_dry_run.yml +++ b/.github/workflows/pub_publish_dry_run.yml @@ -2,9 +2,10 @@ name: Pub publish dry run on: workflow_dispatch: + pull_request: push: branches: - - main + - '**' jobs: publish-dry-run: diff --git a/.github/workflows/pub_score.yml b/.github/workflows/pub_score.yml index 7a2005d..fcf99c0 100644 --- a/.github/workflows/pub_score.yml +++ b/.github/workflows/pub_score.yml @@ -5,7 +5,7 @@ on: pull_request: push: branches: - - main + - '**' jobs: check-score: