Skip to content

Commit

Permalink
CI: use latest mono_repo (#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Oct 17, 2022
1 parent 5107ac1 commit cc084e5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Created with package:mono_repo v6.4.1
# Created with package:mono_repo v6.4.2
name: Dart CI
on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
Expand All @@ -34,17 +34,17 @@ jobs:
sdk: stable
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: mono_repo self validate
run: dart pub global activate mono_repo 6.4.1
run: dart pub global activate mono_repo 6.4.2
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyzer_and_format; Dart 2.17.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze"
Expand All @@ -59,7 +59,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze"
Expand All @@ -145,7 +145,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
Expand All @@ -231,7 +231,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:json_serializable;commands:test_3"
Expand All @@ -292,7 +292,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -311,7 +311,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:json_serializable;commands:test_1"
Expand All @@ -326,7 +326,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -345,7 +345,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:json_serializable;commands:test_2"
Expand All @@ -360,7 +360,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -379,7 +379,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
Expand All @@ -394,7 +394,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_3"
Expand All @@ -455,7 +455,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -474,7 +474,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_1"
Expand All @@ -489,7 +489,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -508,7 +508,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_2"
Expand All @@ -523,7 +523,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: json_serializable_pub_upgrade
name: json_serializable; dart pub upgrade
run: dart pub upgrade
Expand All @@ -542,7 +542,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:_test_yaml-checked_yaml-example;commands:test_1"
Expand All @@ -557,7 +557,7 @@ jobs:
sdk: "2.17.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -602,7 +602,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@ac8075791e805656e71b4ba23325ace9e3421120
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example;commands:test_1"
Expand All @@ -617,7 +617,7 @@ jobs:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- id: _test_yaml_pub_upgrade
name: _test_yaml; dart pub upgrade
run: dart pub upgrade
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 v6.4.1
# Created with package:mono_repo v6.4.2

# 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 cc084e5

Please sign in to comment.