From 6b5aeae5c597317d37ee2ee76a0932170f4bc329 Mon Sep 17 00:00:00 2001 From: Volodymyr Buberenko Date: Tue, 26 Oct 2021 15:15:34 +0300 Subject: [PATCH] Separate Flutter Analyze from pub.dev validation --- .github/workflows/all_plugins.yaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/all_plugins.yaml b/.github/workflows/all_plugins.yaml index bdd6a33aef..490a0fdf1f 100644 --- a/.github/workflows/all_plugins.yaml +++ b/.github/workflows/all_plugins.yaml @@ -16,7 +16,7 @@ on: jobs: analyze: - name: "Analyze" + name: "Flutter Analyze" timeout-minutes: 15 runs-on: ubuntu-latest steps: @@ -29,8 +29,23 @@ jobs: ./.github/workflows/scripts/install-tools.sh - name: "Bootstrap Workspace" run: melos bootstrap - - name: "Run Analyze" + - name: "Run Flutter Analyze" run: melos run analyze + + pub_dev_publish_check: + name: "Check pub.dev requirements" + timeout-minutes: 15 + runs-on: ubuntu-latest + steps: + - name: "Checkout repository" + uses: actions/checkout@v2 + - name: "Install Flutter" + run: ./.github/workflows/scripts/install-flutter.sh stable + - name: "Install Tools" + run: | + ./.github/workflows/scripts/install-tools.sh + - name: "Bootstrap Workspace" + run: melos bootstrap - name: "Pub Check" run: | melos exec -c 1 --no-private --ignore="*example*" -- \ @@ -54,7 +69,7 @@ jobs: "flutter pub get" check_formatting: - name: "Check formatting" + name: "Check code formatting" runs-on: ubuntu-latest timeout-minutes: 40 steps: