|
1 |
| -# Created with package:mono_repo v6.6.0 |
| 1 | +# Created with package:mono_repo v6.6.1 |
2 | 2 | name: Dart CI
|
3 | 3 | on:
|
4 | 4 | push:
|
|
35 | 35 | name: Checkout repository
|
36 | 36 | uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
37 | 37 | - name: mono_repo self validate
|
38 |
| - run: dart pub global activate mono_repo 6.6.0 |
| 38 | + run: dart pub global activate mono_repo 6.6.1 |
39 | 39 | - name: mono_repo self validate
|
40 | 40 | run: dart pub global run mono_repo generate --validate
|
41 | 41 | job_002:
|
@@ -86,16 +86,50 @@ jobs:
|
86 | 86 | if: "always() && steps.packages_code_excerpter_pub_upgrade.conclusion == 'success'"
|
87 | 87 | working-directory: packages/code_excerpter
|
88 | 88 | job_003:
|
89 |
| - name: "analyzer_and_format; Dart dev; PKGS: packages/code_excerpt_updater, packages/code_excerpter; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`" |
| 89 | + name: "analyzer_and_format; Dart 3.2.0; PKG: packages/excerpter; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`" |
90 | 90 | runs-on: ubuntu-latest
|
91 | 91 | steps:
|
92 | 92 | - name: Cache Pub hosted dependencies
|
93 | 93 | uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
|
94 | 94 | with:
|
95 | 95 | path: "~/.pub-cache/hosted"
|
96 |
| - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter;commands:format-analyze" |
| 96 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:packages/excerpter;commands:format-analyze" |
97 | 97 | restore-keys: |
|
98 |
| - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter |
| 98 | + os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:packages/excerpter |
| 99 | + os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 |
| 100 | + os:ubuntu-latest;pub-cache-hosted |
| 101 | + os:ubuntu-latest |
| 102 | + - name: Setup Dart SDK |
| 103 | + uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1 |
| 104 | + with: |
| 105 | + sdk: "3.2.0" |
| 106 | + - id: checkout |
| 107 | + name: Checkout repository |
| 108 | + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 |
| 109 | + - id: packages_excerpter_pub_upgrade |
| 110 | + name: packages/excerpter; dart pub upgrade |
| 111 | + run: dart pub upgrade |
| 112 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 113 | + working-directory: packages/excerpter |
| 114 | + - name: "packages/excerpter; dart format --output=none --set-exit-if-changed ." |
| 115 | + run: "dart format --output=none --set-exit-if-changed ." |
| 116 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 117 | + working-directory: packages/excerpter |
| 118 | + - name: "packages/excerpter; dart analyze --fatal-infos ." |
| 119 | + run: dart analyze --fatal-infos . |
| 120 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 121 | + working-directory: packages/excerpter |
| 122 | + job_004: |
| 123 | + name: "analyzer_and_format; Dart dev; PKGS: packages/code_excerpt_updater, packages/code_excerpter, packages/excerpter; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`" |
| 124 | + runs-on: ubuntu-latest |
| 125 | + steps: |
| 126 | + - name: Cache Pub hosted dependencies |
| 127 | + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 |
| 128 | + with: |
| 129 | + path: "~/.pub-cache/hosted" |
| 130 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter-packages/excerpter;commands:format-analyze" |
| 131 | + restore-keys: | |
| 132 | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter-packages/excerpter |
99 | 133 | os:ubuntu-latest;pub-cache-hosted;sdk:dev
|
100 | 134 | os:ubuntu-latest;pub-cache-hosted
|
101 | 135 | os:ubuntu-latest
|
@@ -132,7 +166,20 @@ jobs:
|
132 | 166 | run: dart analyze --fatal-infos .
|
133 | 167 | if: "always() && steps.packages_code_excerpter_pub_upgrade.conclusion == 'success'"
|
134 | 168 | working-directory: packages/code_excerpter
|
135 |
| - job_004: |
| 169 | + - id: packages_excerpter_pub_upgrade |
| 170 | + name: packages/excerpter; dart pub upgrade |
| 171 | + run: dart pub upgrade |
| 172 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 173 | + working-directory: packages/excerpter |
| 174 | + - name: "packages/excerpter; dart format --output=none --set-exit-if-changed ." |
| 175 | + run: "dart format --output=none --set-exit-if-changed ." |
| 176 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 177 | + working-directory: packages/excerpter |
| 178 | + - name: "packages/excerpter; dart analyze --fatal-infos ." |
| 179 | + run: dart analyze --fatal-infos . |
| 180 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 181 | + working-directory: packages/excerpter |
| 182 | + job_005: |
136 | 183 | name: "unit_test; Dart 3.1.0; PKGS: packages/code_excerpt_updater, packages/code_excerpter; `dart test`"
|
137 | 184 | runs-on: ubuntu-latest
|
138 | 185 | steps:
|
@@ -175,17 +222,53 @@ jobs:
|
175 | 222 | - job_001
|
176 | 223 | - job_002
|
177 | 224 | - job_003
|
178 |
| - job_005: |
179 |
| - name: "unit_test; Dart dev; PKGS: packages/code_excerpt_updater, packages/code_excerpter; `dart test`" |
| 225 | + - job_004 |
| 226 | + job_006: |
| 227 | + name: "unit_test; Dart 3.2.0; PKG: packages/excerpter; `dart test`" |
| 228 | + runs-on: ubuntu-latest |
| 229 | + steps: |
| 230 | + - name: Cache Pub hosted dependencies |
| 231 | + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 |
| 232 | + with: |
| 233 | + path: "~/.pub-cache/hosted" |
| 234 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:packages/excerpter;commands:test" |
| 235 | + restore-keys: | |
| 236 | + os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:packages/excerpter |
| 237 | + os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 |
| 238 | + os:ubuntu-latest;pub-cache-hosted |
| 239 | + os:ubuntu-latest |
| 240 | + - name: Setup Dart SDK |
| 241 | + uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1 |
| 242 | + with: |
| 243 | + sdk: "3.2.0" |
| 244 | + - id: checkout |
| 245 | + name: Checkout repository |
| 246 | + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 |
| 247 | + - id: packages_excerpter_pub_upgrade |
| 248 | + name: packages/excerpter; dart pub upgrade |
| 249 | + run: dart pub upgrade |
| 250 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 251 | + working-directory: packages/excerpter |
| 252 | + - name: packages/excerpter; dart test |
| 253 | + run: dart test |
| 254 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 255 | + working-directory: packages/excerpter |
| 256 | + needs: |
| 257 | + - job_001 |
| 258 | + - job_002 |
| 259 | + - job_003 |
| 260 | + - job_004 |
| 261 | + job_007: |
| 262 | + name: "unit_test; Dart dev; PKGS: packages/code_excerpt_updater, packages/code_excerpter, packages/excerpter; `dart test`" |
180 | 263 | runs-on: ubuntu-latest
|
181 | 264 | steps:
|
182 | 265 | - name: Cache Pub hosted dependencies
|
183 | 266 | uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
|
184 | 267 | with:
|
185 | 268 | path: "~/.pub-cache/hosted"
|
186 |
| - key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter;commands:test" |
| 269 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter-packages/excerpter;commands:test" |
187 | 270 | restore-keys: |
|
188 |
| - os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter |
| 271 | + os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:packages/code_excerpt_updater-packages/code_excerpter-packages/excerpter |
189 | 272 | os:ubuntu-latest;pub-cache-hosted;sdk:dev
|
190 | 273 | os:ubuntu-latest;pub-cache-hosted
|
191 | 274 | os:ubuntu-latest
|
@@ -214,7 +297,17 @@ jobs:
|
214 | 297 | run: dart test
|
215 | 298 | if: "always() && steps.packages_code_excerpter_pub_upgrade.conclusion == 'success'"
|
216 | 299 | working-directory: packages/code_excerpter
|
| 300 | + - id: packages_excerpter_pub_upgrade |
| 301 | + name: packages/excerpter; dart pub upgrade |
| 302 | + run: dart pub upgrade |
| 303 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 304 | + working-directory: packages/excerpter |
| 305 | + - name: packages/excerpter; dart test |
| 306 | + run: dart test |
| 307 | + if: "always() && steps.packages_excerpter_pub_upgrade.conclusion == 'success'" |
| 308 | + working-directory: packages/excerpter |
217 | 309 | needs:
|
218 | 310 | - job_001
|
219 | 311 | - job_002
|
220 | 312 | - job_003
|
| 313 | + - job_004 |
0 commit comments