Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ykmnkmi committed Nov 19, 2023
1 parent 532bd50 commit 370b914
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ jobs:
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart analyze --fatal-infos .`"
name: "analyze; Dart 3.0.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart analyze --fatal-infos .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down Expand Up @@ -118,23 +118,23 @@ jobs:
needs:
- job_001
job_003:
name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart format --output=none --set-exit-if-changed .`"
name: "analyze; Dart 3.0.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart format --output=none --set-exit-if-changed .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down Expand Up @@ -272,23 +272,23 @@ jobs:
needs:
- job_001
job_005:
name: "build; Dart 3.1.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`"
name: "build; Dart 3.0.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms;commands:command_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -307,23 +307,23 @@ jobs:
- job_003
- job_004
job_006:
name: "build; Dart 3.1.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`"
name: "build; Dart 3.0.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter;commands:command_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -342,23 +342,23 @@ jobs:
- job_003
- job_004
job_007:
name: "build; Dart 3.1.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`"
name: "build; Dart 3.0.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest;commands:command_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down Expand Up @@ -482,23 +482,23 @@ jobs:
- job_003
- job_004
job_011:
name: "unit_test; Dart 3.1.0; PKG: ngast; `dart test -P ci`"
name: "unit_test; Dart 3.0.0; PKG: ngast; `dart test -P ci`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast;commands:test"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast;commands:test"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -523,23 +523,23 @@ jobs:
- job_009
- job_010
job_012:
name: "unit_test; Dart 3.1.0; PKG: ngcompiler; `dart test -P ci`"
name: "unit_test; Dart 3.0.0; PKG: ngcompiler; `dart test -P ci`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngcompiler;commands:test"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngcompiler;commands:test"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngcompiler
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngcompiler
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -564,23 +564,23 @@ jobs:
- job_009
- job_010
job_013:
name: "unit_test; Dart 3.1.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`"
name: "unit_test; Dart 3.0.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms;commands:command_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -605,23 +605,23 @@ jobs:
- job_009
- job_010
job_014:
name: "unit_test; Dart 3.1.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`"
name: "unit_test; Dart 3.0.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter;commands:command_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -646,23 +646,23 @@ jobs:
- job_009
- job_010
job_015:
name: "unit_test; Dart 3.1.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`"
name: "unit_test; Dart 3.0.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest;commands:command_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: "3.1.0"
sdk: "3.0.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit 370b914

Please sign in to comment.