|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
# Created with package:mono_repo v6.5.6 |
|
|
|
|
name: Dart CI |
|
|
|
|
on: |
|
|
|
|
push: |
|
|
|
@ -13,954 +12,26 @@ env:
|
|
|
|
|
permissions: read-all |
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
job_001: |
|
|
|
|
name: mono_repo self validate |
|
|
|
|
dart-ci: |
|
|
|
|
name: Dart CI |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
- name: Cache dependencies |
|
|
|
|
uses: actions/cache@v3 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- name: mono_repo self validate |
|
|
|
|
run: dart pub global activate mono_repo 6.5.6 |
|
|
|
|
- name: mono_repo self validate |
|
|
|
|
run: dart pub global run mono_repo generate --validate |
|
|
|
|
job_002: |
|
|
|
|
name: "all; PKG: packages/app; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_app_pub_upgrade |
|
|
|
|
name: packages/app; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/app |
|
|
|
|
- name: "packages/app; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_app_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/app |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_003: |
|
|
|
|
name: "all; PKG: packages/dynamite/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_dynamite_dynamite_pub_upgrade |
|
|
|
|
name: packages/dynamite/dynamite; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite |
|
|
|
|
- name: "packages/dynamite/dynamite; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_dynamite_dynamite_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_004: |
|
|
|
|
name: "all; PKG: packages/dynamite/dynamite_runtime; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_dynamite_dynamite_runtime_pub_upgrade |
|
|
|
|
name: packages/dynamite/dynamite_runtime; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite_runtime |
|
|
|
|
- name: "packages/dynamite/dynamite_runtime; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_dynamite_dynamite_runtime_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite_runtime |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_005: |
|
|
|
|
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 |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_file_icons_pub_upgrade |
|
|
|
|
name: packages/file_icons; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/file_icons |
|
|
|
|
- name: "packages/file_icons; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_file_icons_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/file_icons |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_006: |
|
|
|
|
name: "all; PKG: packages/neon/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_pub_upgrade |
|
|
|
|
name: packages/neon/neon; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
- name: "packages/neon/neon; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_neon_neon_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_007: |
|
|
|
|
name: "all; PKG: packages/neon/neon_files; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_files_pub_upgrade |
|
|
|
|
name: packages/neon/neon_files; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_files |
|
|
|
|
- name: "packages/neon/neon_files; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_neon_neon_files_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_files |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_008: |
|
|
|
|
name: "all; PKG: packages/neon/neon_news; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_news_pub_upgrade |
|
|
|
|
name: packages/neon/neon_news; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_news |
|
|
|
|
- name: "packages/neon/neon_news; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_neon_neon_news_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_news |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_009: |
|
|
|
|
name: "all; PKG: packages/neon/neon_notes; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_notes_pub_upgrade |
|
|
|
|
name: packages/neon/neon_notes; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notes |
|
|
|
|
- name: "packages/neon/neon_notes; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_neon_neon_notes_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notes |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_010: |
|
|
|
|
name: "all; PKG: packages/neon/neon_notifications; `dart format --output=none --set-exit-if-changed --line-length 120 .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_notifications_pub_upgrade |
|
|
|
|
name: packages/neon/neon_notifications; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notifications |
|
|
|
|
- name: "packages/neon/neon_notifications; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_neon_neon_notifications_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notifications |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_011: |
|
|
|
|
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 |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_nextcloud_pub_upgrade |
|
|
|
|
name: packages/nextcloud; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
- name: "packages/nextcloud; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_012: |
|
|
|
|
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 |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_settings_pub_upgrade |
|
|
|
|
name: packages/settings; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/settings |
|
|
|
|
- name: "packages/settings; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_settings_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/settings |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_013: |
|
|
|
|
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 |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_sort_box_pub_upgrade |
|
|
|
|
name: packages/sort_box; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
- name: "packages/sort_box; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_014: |
|
|
|
|
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 |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:format" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_spec_templates_pub_upgrade |
|
|
|
|
name: packages/spec_templates; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/spec_templates |
|
|
|
|
- name: "packages/spec_templates; dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
run: "dart format --output=none --set-exit-if-changed --line-length 120 ." |
|
|
|
|
if: "always() && steps.packages_spec_templates_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/spec_templates |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_015: |
|
|
|
|
name: "all; PKG: packages/app; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_app_pub_upgrade |
|
|
|
|
name: packages/app; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/app |
|
|
|
|
- name: "packages/app; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_app_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/app |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_016: |
|
|
|
|
name: "all; PKG: packages/file_icons; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_file_icons_pub_upgrade |
|
|
|
|
name: packages/file_icons; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/file_icons |
|
|
|
|
- name: "packages/file_icons; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_file_icons_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/file_icons |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_017: |
|
|
|
|
name: "all; PKG: packages/neon/neon; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_pub_upgrade |
|
|
|
|
name: packages/neon/neon; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
- name: "packages/neon/neon; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_neon_neon_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_018: |
|
|
|
|
name: "all; PKG: packages/neon/neon_files; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_files_pub_upgrade |
|
|
|
|
name: packages/neon/neon_files; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_files |
|
|
|
|
- name: "packages/neon/neon_files; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_neon_neon_files_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_files |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_019: |
|
|
|
|
name: "all; PKG: packages/neon/neon_news; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_news_pub_upgrade |
|
|
|
|
name: packages/neon/neon_news; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_news |
|
|
|
|
- name: "packages/neon/neon_news; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_neon_neon_news_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_news |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_020: |
|
|
|
|
name: "all; PKG: packages/neon/neon_notes; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_notes_pub_upgrade |
|
|
|
|
name: packages/neon/neon_notes; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notes |
|
|
|
|
- name: "packages/neon/neon_notes; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_neon_neon_notes_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notes |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_021: |
|
|
|
|
name: "all; PKG: packages/neon/neon_notifications; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_notifications_pub_upgrade |
|
|
|
|
name: packages/neon/neon_notifications; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notifications |
|
|
|
|
- name: "packages/neon/neon_notifications; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_neon_neon_notifications_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon_notifications |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_022: |
|
|
|
|
name: "all; PKG: packages/settings; `flutter analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:analyze_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_settings_pub_upgrade |
|
|
|
|
name: packages/settings; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/settings |
|
|
|
|
- name: "packages/settings; flutter analyze --fatal-infos ." |
|
|
|
|
run: flutter analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_settings_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/settings |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_023: |
|
|
|
|
name: "all; PKG: packages/dynamite/dynamite; `dart analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite;commands:analyze_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_dynamite_dynamite_pub_upgrade |
|
|
|
|
name: packages/dynamite/dynamite; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite |
|
|
|
|
- name: "packages/dynamite/dynamite; dart analyze --fatal-infos ." |
|
|
|
|
run: dart analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_dynamite_dynamite_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_024: |
|
|
|
|
name: "all; PKG: packages/dynamite/dynamite_runtime; `dart analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime;commands:analyze_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_dynamite_dynamite_runtime_pub_upgrade |
|
|
|
|
name: packages/dynamite/dynamite_runtime; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite_runtime |
|
|
|
|
- name: "packages/dynamite/dynamite_runtime; dart analyze --fatal-infos ." |
|
|
|
|
run: dart analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_dynamite_dynamite_runtime_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/dynamite/dynamite_runtime |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_025: |
|
|
|
|
name: "all; PKG: packages/nextcloud; `dart analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:analyze_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_nextcloud_pub_upgrade |
|
|
|
|
name: packages/nextcloud; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
- name: "packages/nextcloud; dart analyze --fatal-infos ." |
|
|
|
|
run: dart analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_026: |
|
|
|
|
name: "all; PKG: packages/sort_box; `dart analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:analyze_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_sort_box_pub_upgrade |
|
|
|
|
name: packages/sort_box; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
- name: "packages/sort_box; dart analyze --fatal-infos ." |
|
|
|
|
run: dart analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_027: |
|
|
|
|
name: "all; PKG: packages/spec_templates; `dart analyze --fatal-infos .`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:analyze_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_spec_templates_pub_upgrade |
|
|
|
|
name: packages/spec_templates; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/spec_templates |
|
|
|
|
- name: "packages/spec_templates; dart analyze --fatal-infos ." |
|
|
|
|
run: dart analyze --fatal-infos . |
|
|
|
|
if: "always() && steps.packages_spec_templates_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/spec_templates |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_028: |
|
|
|
|
name: "all; PKG: packages/neon/neon; `flutter test`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon;commands:test_0" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Flutter SDK |
|
|
|
|
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa |
|
|
|
|
with: |
|
|
|
|
channel: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_neon_neon_pub_upgrade |
|
|
|
|
name: packages/neon/neon; flutter pub upgrade |
|
|
|
|
run: flutter pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
- name: packages/neon/neon; flutter test |
|
|
|
|
run: flutter test |
|
|
|
|
if: "always() && steps.packages_neon_neon_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/neon/neon |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_029: |
|
|
|
|
name: "all; PKG: packages/nextcloud; `dart test`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:test_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_nextcloud_pub_upgrade |
|
|
|
|
name: packages/nextcloud; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
- name: packages/nextcloud; dart test |
|
|
|
|
run: dart test |
|
|
|
|
if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/nextcloud |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
job_030: |
|
|
|
|
name: "all; PKG: packages/sort_box; `dart test`" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- name: Cache Pub hosted dependencies |
|
|
|
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
|
|
|
|
with: |
|
|
|
|
path: "~/.pub-cache/hosted" |
|
|
|
|
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:test_1" |
|
|
|
|
restore-keys: | |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted;sdk:stable |
|
|
|
|
os:ubuntu-latest;pub-cache-hosted |
|
|
|
|
os:ubuntu-latest |
|
|
|
|
- name: Setup Dart SDK |
|
|
|
|
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
|
|
|
|
with: |
|
|
|
|
sdk: stable |
|
|
|
|
- id: checkout |
|
|
|
|
name: Checkout repository |
|
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
|
|
|
|
- id: packages_sort_box_pub_upgrade |
|
|
|
|
name: packages/sort_box; dart pub upgrade |
|
|
|
|
run: dart pub upgrade |
|
|
|
|
if: "always() && steps.checkout.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
- name: packages/sort_box; dart test |
|
|
|
|
run: dart test |
|
|
|
|
if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" |
|
|
|
|
working-directory: packages/sort_box |
|
|
|
|
needs: |
|
|
|
|
- job_001 |
|
|
|
|
path: ~/.pub-cache/hosted |
|
|
|
|
key: dart-ci |
|
|
|
|
- name: Checkout repository |
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
- name: Install dart |
|
|
|
|
uses: dart-lang/setup-dart@v1 |
|
|
|
|
- name: Setup |
|
|
|
|
run: ./tool/setup.sh |
|
|
|
|
|
|
|
|
|
- name: Check formatting |
|
|
|
|
run: melos run format-check |
|
|
|
|
- name: Lint code |
|
|
|
|
run: melos run analyze |
|
|
|
|
- name: Run tests |
|
|
|
|
run: melos run test |
|
|
|
|