-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
2,355 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
github: | ||
dependabot: | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
# Created with package:mono_repo v6.6.0 | ||
name: Dart CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
defaults: | ||
run: | ||
shell: bash | ||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
permissions: read-all | ||
|
||
jobs: | ||
job_001: | ||
name: "unit_test; Flutter 3.3.10; `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:3.3.10;packages:packages/aurora_push_service;commands:test" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10;packages:packages/aurora_push_service | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10 | ||
os:ubuntu-latest;pub-cache-hosted | ||
os:ubuntu-latest | ||
- name: Setup Flutter SDK | ||
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa | ||
with: | ||
channel: "3.3.10" | ||
- id: checkout | ||
name: Checkout repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
- id: packages_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter test | ||
run: flutter test | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_002: | ||
name: "unit_test; Flutter stable; `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/aurora_push_service;commands:test" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/aurora_push_service | ||
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_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter test | ||
run: flutter test | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_003: | ||
name: "cron; Flutter 3.3.10; `flutter test`" | ||
runs-on: ubuntu-latest | ||
if: "github.event_name == 'schedule'" | ||
steps: | ||
- name: Cache Pub hosted dependencies | ||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 | ||
with: | ||
path: "~/.pub-cache/hosted" | ||
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10;packages:packages/aurora_push_service;commands:test" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10;packages:packages/aurora_push_service | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10 | ||
os:ubuntu-latest;pub-cache-hosted | ||
os:ubuntu-latest | ||
- name: Setup Flutter SDK | ||
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa | ||
with: | ||
channel: "3.3.10" | ||
- id: checkout | ||
name: Checkout repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
- id: packages_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter test | ||
run: flutter test | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
needs: | ||
- job_001 | ||
- job_002 | ||
job_004: | ||
name: "cron; Flutter stable; `flutter test`" | ||
runs-on: ubuntu-latest | ||
if: "github.event_name == 'schedule'" | ||
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/aurora_push_service;commands:test" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/aurora_push_service | ||
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_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter test | ||
run: flutter test | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
needs: | ||
- job_001 | ||
- job_002 | ||
job_005: | ||
name: Notify failure | ||
runs-on: ubuntu-latest | ||
if: failure() | ||
steps: | ||
- run: | | ||
curl -H "Content-Type: application/json" -X POST -d \ | ||
"{'text':'Build failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \ | ||
"${CHAT_WEBHOOK_URL}" | ||
env: | ||
CHAT_WEBHOOK_URL: "${{ secrets.CHAT_WEBHOOK_URL }}" | ||
needs: | ||
- job_001 | ||
- job_002 | ||
- job_003 | ||
- job_004 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
# Created with package:mono_repo v6.6.0 | ||
name: Dart Lint CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
defaults: | ||
run: | ||
shell: bash | ||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
permissions: read-all | ||
|
||
jobs: | ||
job_001: | ||
name: mono_repo self validate | ||
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" | ||
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.6.0 | ||
- name: mono_repo self validate | ||
run: dart pub global run mono_repo generate --validate | ||
job_002: | ||
name: "analyze; Flutter 3.3.10; `dart format --output=none --set-exit-if-changed .`" | ||
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:3.3.10;packages:packages/aurora_push_service;commands:format" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10;packages:packages/aurora_push_service | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10 | ||
os:ubuntu-latest;pub-cache-hosted | ||
os:ubuntu-latest | ||
- name: Setup Flutter SDK | ||
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa | ||
with: | ||
channel: "3.3.10" | ||
- id: checkout | ||
name: Checkout repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
- id: packages_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: "packages/aurora_push_service; dart format --output=none --set-exit-if-changed ." | ||
run: "dart format --output=none --set-exit-if-changed ." | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_003: | ||
name: "analyze; Flutter 3.3.10; `flutter analyze`" | ||
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:3.3.10;packages:packages/aurora_push_service;commands:analyze" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10;packages:packages/aurora_push_service | ||
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.10 | ||
os:ubuntu-latest;pub-cache-hosted | ||
os:ubuntu-latest | ||
- name: Setup Flutter SDK | ||
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa | ||
with: | ||
channel: "3.3.10" | ||
- id: checkout | ||
name: Checkout repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
- id: packages_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter analyze | ||
run: flutter analyze | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_004: | ||
name: "analyze; Flutter stable; `dart format --output=none --set-exit-if-changed .`" | ||
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/aurora_push_service;commands:format" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/aurora_push_service | ||
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_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: "packages/aurora_push_service; dart format --output=none --set-exit-if-changed ." | ||
run: "dart format --output=none --set-exit-if-changed ." | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_005: | ||
name: "analyze; Flutter stable; `flutter analyze`" | ||
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/aurora_push_service;commands:analyze" | ||
restore-keys: | | ||
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/aurora_push_service | ||
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_aurora_push_service_pub_upgrade | ||
name: packages/aurora_push_service; flutter pub upgrade | ||
run: flutter pub upgrade | ||
if: "always() && steps.checkout.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
- name: packages/aurora_push_service; flutter analyze | ||
run: flutter analyze | ||
if: "always() && steps.packages_aurora_push_service_pub_upgrade.conclusion == 'success'" | ||
working-directory: packages/aurora_push_service | ||
job_006: | ||
name: Notify failure | ||
runs-on: ubuntu-latest | ||
if: failure() | ||
steps: | ||
- run: | | ||
curl -H "Content-Type: application/json" -X POST -d \ | ||
"{'text':'Build failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \ | ||
"${CHAT_WEBHOOK_URL}" | ||
env: | ||
CHAT_WEBHOOK_URL: "${{ secrets.CHAT_WEBHOOK_URL }}" | ||
needs: | ||
- job_001 | ||
- job_002 | ||
- job_003 | ||
- job_004 | ||
- job_005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Below is a list of people and organizations that have contributed | ||
# to the project. Names should be added to the list like so: | ||
# | ||
# Name/Organization <email address> | ||
|
||
Friflex LLC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# aurora_flutter | ||
# Aurora Flutter |
Oops, something went wrong.