From fbebadd3a0091dd401df59827556c3a631699894 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sat, 1 Oct 2022 22:16:24 +0200 Subject: [PATCH] ci: Speedup --- .github/workflows/dart.yml | 68 ++++++--------------- packages/dynamite/mono_pkg.yaml | 2 +- packages/file_icons/mono_pkg.yaml | 2 +- packages/neon/mono_pkg.yaml | 2 +- packages/nextcloud/mono_pkg.yaml | 5 +- packages/nextcloud_push_proxy/mono_pkg.yaml | 2 +- packages/settings/mono_pkg.yaml | 2 +- packages/sort_box/mono_pkg.yaml | 3 +- packages/spec_templates/mono_pkg.yaml | 2 +- 9 files changed, 27 insertions(+), 61 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 1c988d92..d521ea79 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -37,7 +37,7 @@ jobs: - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: - name: "analyze; PKG: packages/dynamite; `dart analyze --fatal-infos .`" + name: "all; PKG: packages/dynamite; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -69,7 +69,7 @@ jobs: needs: - job_001 job_003: - name: "analyze; PKG: packages/nextcloud; `dart analyze --fatal-infos .`" + name: "all; PKG: packages/nextcloud; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -101,7 +101,7 @@ jobs: needs: - job_001 job_004: - name: "analyze; PKG: packages/nextcloud_push_proxy; `dart analyze --fatal-infos .`" + name: "all; PKG: packages/nextcloud_push_proxy; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -133,7 +133,7 @@ jobs: needs: - job_001 job_005: - name: "analyze; PKG: packages/sort_box; `dart analyze --fatal-infos .`" + name: "all; PKG: packages/sort_box; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -165,7 +165,7 @@ jobs: needs: - job_001 job_006: - name: "analyze; PKG: packages/spec_templates; `dart analyze --fatal-infos .`" + name: "all; PKG: packages/spec_templates; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -197,7 +197,7 @@ jobs: needs: - job_001 job_007: - name: "analyze; PKG: packages/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -229,7 +229,7 @@ jobs: needs: - job_001 job_008: - name: "analyze; PKG: packages/file_icons; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/file_icons; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -261,7 +261,7 @@ jobs: needs: - job_001 job_009: - name: "analyze; PKG: packages/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -293,7 +293,7 @@ jobs: needs: - job_001 job_010: - name: "analyze; PKG: packages/nextcloud; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/nextcloud; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -325,7 +325,7 @@ jobs: needs: - job_001 job_011: - name: "analyze; PKG: packages/nextcloud_push_proxy; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/nextcloud_push_proxy; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -357,7 +357,7 @@ jobs: needs: - job_001 job_012: - name: "analyze; PKG: packages/settings; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/settings; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -389,7 +389,7 @@ jobs: needs: - job_001 job_013: - name: "analyze; PKG: packages/sort_box; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/sort_box; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -421,7 +421,7 @@ jobs: needs: - job_001 job_014: - name: "analyze; PKG: packages/spec_templates; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/spec_templates; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -453,7 +453,7 @@ jobs: needs: - job_001 job_015: - name: "analyze; PKG: packages/file_icons; `flutter analyze --fatal-infos .`" + name: "all; PKG: packages/file_icons; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -485,7 +485,7 @@ jobs: needs: - job_001 job_016: - name: "analyze; PKG: packages/neon; `flutter analyze --fatal-infos .`" + name: "all; PKG: packages/neon; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -517,7 +517,7 @@ jobs: needs: - job_001 job_017: - name: "analyze; PKG: packages/settings; `flutter analyze --fatal-infos .`" + name: "all; PKG: packages/settings; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -549,7 +549,7 @@ jobs: needs: - job_001 job_018: - name: "unit_test; PKG: packages/nextcloud; `dart test`" + name: "all; PKG: packages/nextcloud; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -580,24 +580,8 @@ jobs: working-directory: packages/nextcloud needs: - job_001 - - job_002 - - job_003 - - job_004 - - job_005 - - job_006 - - job_007 - - job_008 - - job_009 - - job_010 - - job_011 - - job_012 - - job_013 - - job_014 - - job_015 - - job_016 - - job_017 job_019: - name: "unit_test; PKG: packages/sort_box; `dart test`" + name: "all; PKG: packages/sort_box; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies @@ -628,19 +612,3 @@ jobs: working-directory: packages/sort_box needs: - job_001 - - job_002 - - job_003 - - job_004 - - job_005 - - job_006 - - job_007 - - job_008 - - job_009 - - job_010 - - job_011 - - job_012 - - job_013 - - job_014 - - job_015 - - job_016 - - job_017 diff --git a/packages/dynamite/mono_pkg.yaml b/packages/dynamite/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/dynamite/mono_pkg.yaml +++ b/packages/dynamite/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/file_icons/mono_pkg.yaml b/packages/file_icons/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/file_icons/mono_pkg.yaml +++ b/packages/file_icons/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/neon/mono_pkg.yaml b/packages/neon/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/neon/mono_pkg.yaml +++ b/packages/neon/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/nextcloud/mono_pkg.yaml b/packages/nextcloud/mono_pkg.yaml index 39ceb541..c7b572cc 100644 --- a/packages/nextcloud/mono_pkg.yaml +++ b/packages/nextcloud/mono_pkg.yaml @@ -2,8 +2,7 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . - - unit_test: - - test + - test \ No newline at end of file diff --git a/packages/nextcloud_push_proxy/mono_pkg.yaml b/packages/nextcloud_push_proxy/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/nextcloud_push_proxy/mono_pkg.yaml +++ b/packages/nextcloud_push_proxy/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/settings/mono_pkg.yaml b/packages/settings/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/settings/mono_pkg.yaml +++ b/packages/settings/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/sort_box/mono_pkg.yaml b/packages/sort_box/mono_pkg.yaml index 39ceb541..a6c495b0 100644 --- a/packages/sort_box/mono_pkg.yaml +++ b/packages/sort_box/mono_pkg.yaml @@ -2,8 +2,7 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 . - - unit_test: - test diff --git a/packages/spec_templates/mono_pkg.yaml b/packages/spec_templates/mono_pkg.yaml index 092827e8..60bc3bfd 100644 --- a/packages/spec_templates/mono_pkg.yaml +++ b/packages/spec_templates/mono_pkg.yaml @@ -2,6 +2,6 @@ sdk: - stable stages: - - analyze: + - all: - analyze: --fatal-infos . - format: --output=none --set-exit-if-changed --line-length 120 .