Browse Source

Merge pull request #69 from jld3103/feature/speedup-ci

ci: Speedup
pull/70/head
jld3103 2 years ago committed by GitHub
parent
commit
e2850dbd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 68
      .github/workflows/dart.yml
  2. 2
      packages/dynamite/mono_pkg.yaml
  3. 2
      packages/file_icons/mono_pkg.yaml
  4. 2
      packages/neon/mono_pkg.yaml
  5. 3
      packages/nextcloud/mono_pkg.yaml
  6. 2
      packages/nextcloud_push_proxy/mono_pkg.yaml
  7. 2
      packages/settings/mono_pkg.yaml
  8. 3
      packages/sort_box/mono_pkg.yaml
  9. 2
      packages/spec_templates/mono_pkg.yaml

68
.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

2
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 .

2
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 .

2
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 .

3
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

2
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 .

2
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 .

3
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

2
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 .

Loading…
Cancel
Save