Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
update mono_repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jan 31, 2022
1 parent f457371 commit 9f8462c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 40 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Created with package:mono_repo v5.0.2
# Created with package:mono_repo v6.0.0
name: Dart CI
on:
push:
Expand All @@ -22,41 +22,41 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: stable
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- name: mono_repo self validate
run: dart pub global activate mono_repo 5.0.2
run: dart pub global activate mono_repo 6.0.0
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyze_and_format; Dart dev; PKGS: _shared_assets, firebase; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_shared_assets-firebase;commands:format-analyze"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_shared_assets-firebase;commands:format-analyze"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_shared_assets-firebase
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_shared_assets-firebase
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: dev
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- id: _shared_assets_pub_upgrade
name: _shared_assets; dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
Expand Down Expand Up @@ -88,20 +88,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:firebase;commands:command_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:firebase;commands:command_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:firebase
os:ubuntu-latest;pub-cache-hosted;dart:2.12.0
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:firebase
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: "2.12.0"
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- id: firebase_pub_upgrade
name: firebase; dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
Expand All @@ -119,20 +119,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:firebase;commands:command_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:firebase;commands:command_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:firebase
os:ubuntu-latest;pub-cache-hosted;dart:2.12.0
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:firebase
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: "2.12.0"
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- id: firebase_pub_upgrade
name: firebase; dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
Expand All @@ -150,20 +150,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:firebase;commands:command_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:firebase;commands:command_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:firebase
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:firebase
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: dev
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- id: firebase_pub_upgrade
name: firebase; dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
Expand All @@ -181,20 +181,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:firebase;commands:command_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:firebase;commands:command_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:firebase
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:firebase
os:ubuntu-latest;pub-cache-hosted;sdk:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.2
- uses: dart-lang/setup-dart@v1.3
with:
sdk: dev
- id: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0
- id: firebase_pub_upgrade
name: firebase; dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
Expand Down
2 changes: 1 addition & 1 deletion _shared_assets/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See https://pub.dev/packages/mono_repo for details on this file
dart:
sdk:
- dev

stages:
Expand Down
4 changes: 2 additions & 2 deletions firebase/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See https://pub.dev/packages/mono_repo for details on this file
dart:
sdk:
- 2.12.0
- dev

Expand All @@ -8,7 +8,7 @@ stages:
- group:
- format
- analyze: --fatal-infos .
dart: dev
sdk: dev
- unit_test:
- command: dart run build_runner build example --fail-on-severe --delete-conflicting-outputs
- command:
Expand Down
2 changes: 1 addition & 1 deletion tool/ci.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Created with package:mono_repo v5.0.2
# Created with package:mono_repo v6.0.0

# Support built in commands on windows out of the box.
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
Expand Down

0 comments on commit 9f8462c

Please sign in to comment.