diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index d5f7be1838..e8a9ccf335 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -272,6 +272,83 @@ jobs: needs: - job_001 job_005: + name: "analyze; Dart stable; 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:stable;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngast_pub_upgrade + name: ngast; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngast + - name: "ngast; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngast_pub_upgrade.conclusion == 'success'" + working-directory: ngast + - id: ngcompiler_pub_upgrade + name: ngcompiler; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngcompiler + - name: "ngcompiler; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngcompiler_pub_upgrade.conclusion == 'success'" + working-directory: ngcompiler + - id: ngdart_pub_upgrade + name: ngdart; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngdart + - name: "ngdart; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngdart_pub_upgrade.conclusion == 'success'" + working-directory: ngdart + - id: ngforms_pub_upgrade + name: ngforms; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngforms + - name: "ngforms; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngforms_pub_upgrade.conclusion == 'success'" + working-directory: ngforms + - id: ngrouter_pub_upgrade + name: ngrouter; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngrouter + - name: "ngrouter; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngrouter_pub_upgrade.conclusion == 'success'" + working-directory: ngrouter + - id: ngtest_pub_upgrade + name: ngtest; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngtest + - name: "ngtest; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.ngtest_pub_upgrade.conclusion == 'success'" + working-directory: ngtest + needs: + - job_001 + job_006: name: "build; Dart 3.1.0; PKG: _tests; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -306,7 +383,8 @@ jobs: - job_002 - job_003 - job_004 - job_006: + - job_005 + job_007: name: "build; Dart 3.1.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -341,7 +419,8 @@ jobs: - job_002 - job_003 - job_004 - job_007: + - job_005 + job_008: name: "build; Dart 3.1.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -376,7 +455,8 @@ jobs: - job_002 - job_003 - job_004 - job_008: + - job_005 + job_009: name: "build; Dart 3.1.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -411,7 +491,8 @@ jobs: - job_002 - job_003 - job_004 - job_009: + - job_005 + job_010: name: "build; Dart dev; PKG: _tests; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -446,7 +527,8 @@ jobs: - job_002 - job_003 - job_004 - job_010: + - job_005 + job_011: name: "build; Dart dev; PKG: ngforms; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -481,7 +563,8 @@ jobs: - job_002 - job_003 - job_004 - job_011: + - job_005 + job_012: name: "build; Dart dev; PKG: ngrouter; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -516,7 +599,8 @@ jobs: - job_002 - job_003 - job_004 - job_012: + - job_005 + job_013: name: "build; Dart dev; PKG: ngtest; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: @@ -551,7 +635,152 @@ jobs: - job_002 - job_003 - job_004 - job_013: + - job_005 + job_014: + name: "build; Dart stable; PKG: _tests; `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:stable;packages:_tests;commands:command_0" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: _tests_pub_upgrade + name: _tests; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: _tests + - name: "_tests; dart run build_runner build --fail-on-severe" + run: dart run build_runner build --fail-on-severe + if: "always() && steps._tests_pub_upgrade.conclusion == 'success'" + working-directory: _tests + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + job_015: + name: "build; Dart stable; 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:stable;packages:ngforms;commands:command_0" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngforms_pub_upgrade + name: ngforms; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngforms + - name: "ngforms; dart run build_runner build --fail-on-severe" + run: dart run build_runner build --fail-on-severe + if: "always() && steps.ngforms_pub_upgrade.conclusion == 'success'" + working-directory: ngforms + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + job_016: + name: "build; Dart stable; 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:stable;packages:ngrouter;commands:command_0" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngrouter_pub_upgrade + name: ngrouter; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngrouter + - name: "ngrouter; dart run build_runner build --fail-on-severe" + run: dart run build_runner build --fail-on-severe + if: "always() && steps.ngrouter_pub_upgrade.conclusion == 'success'" + working-directory: ngrouter + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + job_017: + name: "build; Dart stable; 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:stable;packages:ngtest;commands:command_0" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngtest_pub_upgrade + name: ngtest; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngtest + - name: "ngtest; dart run build_runner build --fail-on-severe" + run: dart run build_runner build --fail-on-severe + if: "always() && steps.ngtest_pub_upgrade.conclusion == 'success'" + working-directory: ngtest + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + job_018: name: "unit_test; Dart 3.1.0; PKG: _tests; `dart run build_runner test --fail-on-severe -- -P browser`" runs-on: ubuntu-latest steps: @@ -594,7 +823,12 @@ jobs: - job_010 - job_011 - job_012 - job_014: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_019: name: "unit_test; Dart 3.1.0; PKG: _tests; `dart test -P vm`" runs-on: ubuntu-latest steps: @@ -637,7 +871,12 @@ jobs: - job_010 - job_011 - job_012 - job_015: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_020: name: "unit_test; Dart 3.1.0; PKG: ngast; `dart test -P ci`" runs-on: ubuntu-latest steps: @@ -680,7 +919,12 @@ jobs: - job_010 - job_011 - job_012 - job_016: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_021: name: "unit_test; Dart 3.1.0; PKG: ngcompiler; `dart test -P ci`" runs-on: ubuntu-latest steps: @@ -723,7 +967,12 @@ jobs: - job_010 - job_011 - job_012 - job_017: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_022: name: "unit_test; Dart 3.1.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -766,7 +1015,12 @@ jobs: - job_010 - job_011 - job_012 - job_018: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_023: name: "unit_test; Dart 3.1.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -809,7 +1063,12 @@ jobs: - job_010 - job_011 - job_012 - job_019: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_024: name: "unit_test; Dart 3.1.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -852,7 +1111,12 @@ jobs: - job_010 - job_011 - job_012 - job_020: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_025: name: "unit_test; Dart dev; PKG: _tests; `dart run build_runner test --fail-on-severe -- -P browser`" runs-on: ubuntu-latest steps: @@ -895,7 +1159,12 @@ jobs: - job_010 - job_011 - job_012 - job_021: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_026: name: "unit_test; Dart dev; PKG: _tests; `dart test -P vm`" runs-on: ubuntu-latest steps: @@ -938,7 +1207,12 @@ jobs: - job_010 - job_011 - job_012 - job_022: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_027: name: "unit_test; Dart dev; PKG: ngast; `dart test -P ci`" runs-on: ubuntu-latest steps: @@ -981,7 +1255,12 @@ jobs: - job_010 - job_011 - job_012 - job_023: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_028: name: "unit_test; Dart dev; PKG: ngcompiler; `dart test -P ci`" runs-on: ubuntu-latest steps: @@ -1024,7 +1303,12 @@ jobs: - job_010 - job_011 - job_012 - job_024: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_029: name: "unit_test; Dart dev; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -1067,7 +1351,12 @@ jobs: - job_010 - job_011 - job_012 - job_025: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_030: name: "unit_test; Dart dev; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -1110,7 +1399,12 @@ jobs: - job_010 - job_011 - job_012 - job_026: + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_031: name: "unit_test; Dart dev; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: @@ -1153,3 +1447,344 @@ jobs: - job_010 - job_011 - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_032: + name: "unit_test; Dart stable; PKG: _tests; `dart run build_runner test --fail-on-severe -- -P browser`" + 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:stable;packages:_tests;commands:command_2" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: _tests_pub_upgrade + name: _tests; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: _tests + - name: "_tests; dart run build_runner test --fail-on-severe -- -P browser" + run: dart run build_runner test --fail-on-severe -- -P browser + if: "always() && steps._tests_pub_upgrade.conclusion == 'success'" + working-directory: _tests + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_033: + name: "unit_test; Dart stable; PKG: _tests; `dart test -P vm`" + 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:stable;packages:_tests;commands:command_1" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: _tests_pub_upgrade + name: _tests; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: _tests + - name: "_tests; dart test -P vm" + run: dart test -P vm + if: "always() && steps._tests_pub_upgrade.conclusion == 'success'" + working-directory: _tests + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_034: + name: "unit_test; Dart stable; 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:stable;packages:ngast;commands:test" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngast + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngast_pub_upgrade + name: ngast; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngast + - name: "ngast; dart test -P ci" + run: dart test -P ci + if: "always() && steps.ngast_pub_upgrade.conclusion == 'success'" + working-directory: ngast + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_035: + name: "unit_test; Dart stable; 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:stable;packages:ngcompiler;commands:test" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngcompiler + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngcompiler_pub_upgrade + name: ngcompiler; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngcompiler + - name: "ngcompiler; dart test -P ci" + run: dart test -P ci + if: "always() && steps.ngcompiler_pub_upgrade.conclusion == 'success'" + working-directory: ngcompiler + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_036: + name: "unit_test; Dart stable; 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:stable;packages:ngforms;commands:command_3" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngforms_pub_upgrade + name: ngforms; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngforms + - name: "ngforms; dart run build_runner test --fail-on-severe -- -P ci" + run: dart run build_runner test --fail-on-severe -- -P ci + if: "always() && steps.ngforms_pub_upgrade.conclusion == 'success'" + working-directory: ngforms + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_037: + name: "unit_test; Dart stable; 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:stable;packages:ngrouter;commands:command_3" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngrouter_pub_upgrade + name: ngrouter; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngrouter + - name: "ngrouter; dart run build_runner test --fail-on-severe -- -P ci" + run: dart run build_runner test --fail-on-severe -- -P ci + if: "always() && steps.ngrouter_pub_upgrade.conclusion == 'success'" + working-directory: ngrouter + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 + job_038: + name: "unit_test; Dart stable; 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:stable;packages:ngtest;commands:command_3" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - id: ngtest_pub_upgrade + name: ngtest; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: ngtest + - name: "ngtest; dart run build_runner test --fail-on-severe -- -P ci" + run: dart run build_runner test --fail-on-severe -- -P ci + if: "always() && steps.ngtest_pub_upgrade.conclusion == 'success'" + working-directory: ngtest + needs: + - job_001 + - job_002 + - job_003 + - job_004 + - job_005 + - job_006 + - job_007 + - job_008 + - job_009 + - job_010 + - job_011 + - job_012 + - job_013 + - job_014 + - job_015 + - job_016 + - job_017 diff --git a/_tests/mono_pkg.yaml b/_tests/mono_pkg.yaml index c409a8461a..ff19ea1a63 100644 --- a/_tests/mono_pkg.yaml +++ b/_tests/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - build: diff --git a/_tests/pubspec.yaml b/_tests/pubspec.yaml index 5b7b081430..94ee886575 100644 --- a/_tests/pubspec.yaml +++ b/_tests/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: ngdart: ^8.0.0-dev.3 ngtest: ^5.0.0-dev.2 source_gen: ^1.4.0 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" dev_dependencies: analyzer: ^6.0.0 diff --git a/ngast/lib/src/ast/attribute.dart b/ngast/lib/src/ast/attribute.dart index f1a3a5a7ef..4533aa3b77 100644 --- a/ngast/lib/src/ast/attribute.dart +++ b/ngast/lib/src/ast/attribute.dart @@ -41,7 +41,7 @@ abstract mixin class AttributeAst implements TemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is AttributeAst && name == other.name && value == other.value && diff --git a/ngast/lib/src/ast/close_element.dart b/ngast/lib/src/ast/close_element.dart index 350a702c98..fe087a7eec 100644 --- a/ngast/lib/src/ast/close_element.dart +++ b/ngast/lib/src/ast/close_element.dart @@ -29,7 +29,7 @@ abstract mixin class CloseElementAst implements TemplateAst { }) = ParsedCloseElementAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is CloseElementAst && name == other.name; } diff --git a/ngast/lib/src/ast/comment.dart b/ngast/lib/src/ast/comment.dart index c9d99ba4cb..64d7a02f32 100644 --- a/ngast/lib/src/ast/comment.dart +++ b/ngast/lib/src/ast/comment.dart @@ -31,7 +31,7 @@ abstract mixin class CommentAst implements StandaloneTemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is CommentAst && value == other.value; } diff --git a/ngast/lib/src/ast/container.dart b/ngast/lib/src/ast/container.dart index 52148dae67..75ba569da0 100644 --- a/ngast/lib/src/ast/container.dart +++ b/ngast/lib/src/ast/container.dart @@ -52,7 +52,7 @@ abstract mixin class ContainerAst implements StandaloneTemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is ContainerAst && _listEquals.equals(childNodes, other.childNodes) && _listEquals.equals(stars, other.stars) && diff --git a/ngast/lib/src/ast/content.dart b/ngast/lib/src/ast/content.dart index 7efa9dffa2..69f23df213 100644 --- a/ngast/lib/src/ast/content.dart +++ b/ngast/lib/src/ast/content.dart @@ -63,7 +63,7 @@ abstract mixin class EmbeddedContentAst implements StandaloneTemplateAst { set closeComplement(CloseElementAst closeComplement); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is EmbeddedContentAst && other.selector == selector && other.ngProjectAs == ngProjectAs && diff --git a/ngast/lib/src/ast/element.dart b/ngast/lib/src/ast/element.dart index ec74e62e43..dd93e9a515 100644 --- a/ngast/lib/src/ast/element.dart +++ b/ngast/lib/src/ast/element.dart @@ -58,7 +58,7 @@ abstract mixin class ElementAst implements StandaloneTemplateAst { }) = ParsedElementAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is ElementAst && name == other.name && closeComplement == other.closeComplement && diff --git a/ngast/lib/src/ast/event.dart b/ngast/lib/src/ast/event.dart index ba13639d66..5c02747096 100644 --- a/ngast/lib/src/ast/event.dart +++ b/ngast/lib/src/ast/event.dart @@ -38,7 +38,7 @@ abstract mixin class EventAst implements TemplateAst { ]) = ParsedEventAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is EventAst && name == other.name && _listEquals.equals(reductions, other.reductions); diff --git a/ngast/lib/src/ast/interpolation.dart b/ngast/lib/src/ast/interpolation.dart index 11027adc6f..cb000cb8c7 100644 --- a/ngast/lib/src/ast/interpolation.dart +++ b/ngast/lib/src/ast/interpolation.dart @@ -36,7 +36,7 @@ abstract mixin class InterpolationAst implements StandaloneTemplateAst { String get value; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is InterpolationAst && other.value == value; } diff --git a/ngast/lib/src/ast/let_binding.dart b/ngast/lib/src/ast/let_binding.dart index ae5f518243..9d34e69522 100644 --- a/ngast/lib/src/ast/let_binding.dart +++ b/ngast/lib/src/ast/let_binding.dart @@ -38,7 +38,7 @@ abstract mixin class LetBindingAst implements TemplateAst { ]) = ParsedLetBindingAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is LetBindingAst && name == other.name && value == other.value; } diff --git a/ngast/lib/src/ast/property.dart b/ngast/lib/src/ast/property.dart index 293d4050d8..eb70e637a3 100644 --- a/ngast/lib/src/ast/property.dart +++ b/ngast/lib/src/ast/property.dart @@ -37,7 +37,7 @@ abstract mixin class PropertyAst implements TemplateAst { ]) = ParsedPropertyAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is PropertyAst && name == other.name && postfix == other.postfix && diff --git a/ngast/lib/src/ast/reference.dart b/ngast/lib/src/ast/reference.dart index 9d170cacfc..0ecb77df60 100644 --- a/ngast/lib/src/ast/reference.dart +++ b/ngast/lib/src/ast/reference.dart @@ -31,7 +31,7 @@ abstract mixin class ReferenceAst implements TemplateAst { ]) = ParsedReferenceAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is ReferenceAst && identifier == other.identifier && variable == other.variable; diff --git a/ngast/lib/src/ast/sugar/annotation.dart b/ngast/lib/src/ast/sugar/annotation.dart index ffdd5d7717..3889a075fe 100644 --- a/ngast/lib/src/ast/sugar/annotation.dart +++ b/ngast/lib/src/ast/sugar/annotation.dart @@ -35,7 +35,7 @@ abstract mixin class AnnotationAst implements TemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is AnnotationAst && name == other.name && value == other.value; } diff --git a/ngast/lib/src/ast/sugar/banana.dart b/ngast/lib/src/ast/sugar/banana.dart index f64d3b16f7..448199f3c1 100644 --- a/ngast/lib/src/ast/sugar/banana.dart +++ b/ngast/lib/src/ast/sugar/banana.dart @@ -40,7 +40,7 @@ abstract mixin class BananaAst implements TemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is BananaAst && name == other.name && value == other.value; } diff --git a/ngast/lib/src/ast/sugar/star.dart b/ngast/lib/src/ast/sugar/star.dart index b6d52cc23b..56db497272 100644 --- a/ngast/lib/src/ast/sugar/star.dart +++ b/ngast/lib/src/ast/sugar/star.dart @@ -39,7 +39,7 @@ abstract mixin class StarAst implements TemplateAst { } @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is PropertyAst && value == other.value && name == other.name; } diff --git a/ngast/lib/src/ast/template.dart b/ngast/lib/src/ast/template.dart index 4b9b0b5949..b3a3fa05bb 100644 --- a/ngast/lib/src/ast/template.dart +++ b/ngast/lib/src/ast/template.dart @@ -88,7 +88,7 @@ abstract mixin class EmbeddedTemplateAst implements StandaloneTemplateAst { set closeComplement(CloseElementAst? closeComplement); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is EmbeddedTemplateAst && closeComplement == other.closeComplement && _listEquals.equals(annotations, other.annotations) && diff --git a/ngast/lib/src/ast/text.dart b/ngast/lib/src/ast/text.dart index 49a3f99bc3..43547ab8a8 100644 --- a/ngast/lib/src/ast/text.dart +++ b/ngast/lib/src/ast/text.dart @@ -24,7 +24,7 @@ abstract mixin class TextAst implements StandaloneTemplateAst { ) = _ParsedTextAst; @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is TextAst && value == other.value; } diff --git a/ngast/lib/src/exception_handler/angular_parser_exception.dart b/ngast/lib/src/exception_handler/angular_parser_exception.dart index 9d7e75933d..a5621112d8 100644 --- a/ngast/lib/src/exception_handler/angular_parser_exception.dart +++ b/ngast/lib/src/exception_handler/angular_parser_exception.dart @@ -19,7 +19,7 @@ class AngularParserException extends Error { ); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is AngularParserException && errorCode == other.errorCode && length == other.length && diff --git a/ngast/lib/src/expression/micro/ast.dart b/ngast/lib/src/expression/micro/ast.dart index adad07a166..c14ef53721 100644 --- a/ngast/lib/src/expression/micro/ast.dart +++ b/ngast/lib/src/expression/micro/ast.dart @@ -20,7 +20,7 @@ class NgMicroAst { }); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgMicroAst && _listEquals.equals(letBindings, other.letBindings) && _listEquals.equals(properties, other.properties); diff --git a/ngast/lib/src/expression/micro/token.dart b/ngast/lib/src/expression/micro/token.dart index 96bede2604..b985d8044f 100644 --- a/ngast/lib/src/expression/micro/token.dart +++ b/ngast/lib/src/expression/micro/token.dart @@ -53,7 +53,7 @@ class NgMicroToken { const NgMicroToken._(this.type, this.lexeme, this.offset); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgMicroToken && other.offset == offset && other.type == type; diff --git a/ngast/lib/src/token/lexeme.dart b/ngast/lib/src/token/lexeme.dart index a99a6ee8ed..088bf3a4b1 100644 --- a/ngast/lib/src/token/lexeme.dart +++ b/ngast/lib/src/token/lexeme.dart @@ -9,7 +9,7 @@ class _LexemeNgSimpleToken extends NgSimpleToken { : super._(type, offset); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is _LexemeNgSimpleToken && super == other && lexeme == other.lexeme; @@ -41,7 +41,7 @@ class _LexemeNgToken extends NgToken { ); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is _LexemeNgToken && super == other && lexeme == other.lexeme; } diff --git a/ngast/lib/src/token/tokens.dart b/ngast/lib/src/token/tokens.dart index bc33051313..c4fa59fd4f 100644 --- a/ngast/lib/src/token/tokens.dart +++ b/ngast/lib/src/token/tokens.dart @@ -153,7 +153,7 @@ class NgSimpleToken implements NgBaseToken { ); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgSimpleToken && other.offset == offset && other.type == type; @@ -224,7 +224,7 @@ class NgSimpleQuoteToken extends _LexemeNgSimpleToken { ); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgSimpleQuoteToken && other.offset == offset && other.type == type && @@ -405,7 +405,7 @@ class NgToken implements NgBaseToken { }); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgToken && (errorSynthetic || other.errorSynthetic ? other.offset == offset && other.type == type @@ -478,7 +478,7 @@ class NgAttributeValueToken extends NgToken { ); @override - bool operator ==(Object? other) { + bool operator ==(Object other) { return other is NgAttributeValueToken && leftQuote == other.leftQuote && rightQuote == other.rightQuote && diff --git a/ngast/mono_pkg.yaml b/ngast/mono_pkg.yaml index fb944aa0cc..cbc0001650 100644 --- a/ngast/mono_pkg.yaml +++ b/ngast/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngast/pubspec.yaml b/ngast/pubspec.yaml index 8bff58d29d..62d5098960 100644 --- a/ngast/pubspec.yaml +++ b/ngast/pubspec.yaml @@ -16,4 +16,4 @@ dependencies: dev_dependencies: lints: ^2.1.0 path: ^1.8.3 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" diff --git a/ngcompiler/lib/v1/src/compiler/i18n/message.dart b/ngcompiler/lib/v1/src/compiler/i18n/message.dart index 22f1b9cfce..f17947414c 100644 --- a/ngcompiler/lib/v1/src/compiler/i18n/message.dart +++ b/ngcompiler/lib/v1/src/compiler/i18n/message.dart @@ -34,7 +34,7 @@ class I18nMessage { int get hashCode => metadata.hashCode ^ text.hashCode ^ _map.hash(args); @override - bool operator ==(dynamic other) => + bool operator ==(Object other) => other is I18nMessage && other.metadata == metadata && other.text == text && diff --git a/ngcompiler/lib/v1/src/compiler/i18n/metadata.dart b/ngcompiler/lib/v1/src/compiler/i18n/metadata.dart index f2011cbdfa..5ae752b510 100644 --- a/ngcompiler/lib/v1/src/compiler/i18n/metadata.dart +++ b/ngcompiler/lib/v1/src/compiler/i18n/metadata.dart @@ -119,7 +119,7 @@ class I18nMetadata { description.hashCode ^ locale.hashCode ^ meaning.hashCode ^ skip.hashCode; @override - bool operator ==(dynamic other) => + bool operator ==(Object other) => other is I18nMetadata && other.description == description && other.locale == locale && diff --git a/ngcompiler/mono_pkg.yaml b/ngcompiler/mono_pkg.yaml index fb944aa0cc..cbc0001650 100644 --- a/ngcompiler/mono_pkg.yaml +++ b/ngcompiler/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngcompiler/pubspec.yaml b/ngcompiler/pubspec.yaml index f33b6a686f..2a1fc68aa4 100644 --- a/ngcompiler/pubspec.yaml +++ b/ngcompiler/pubspec.yaml @@ -29,4 +29,4 @@ dev_dependencies: build_test: ^2.2.1 lints: ^2.1.0 package_config: ^2.1.0 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" diff --git a/ngdart/mono_pkg.yaml b/ngdart/mono_pkg.yaml index 03cc3ef1f3..6340676adc 100644 --- a/ngdart/mono_pkg.yaml +++ b/ngdart/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngforms/mono_pkg.yaml b/ngforms/mono_pkg.yaml index 15a4d6d6de..055bbbf082 100644 --- a/ngforms/mono_pkg.yaml +++ b/ngforms/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngforms/pubspec.yaml b/ngforms/pubspec.yaml index 7b51fabd74..0d8fc50397 100644 --- a/ngforms/pubspec.yaml +++ b/ngforms/pubspec.yaml @@ -19,4 +19,4 @@ dev_dependencies: lints: ^2.1.0 mockito: ^5.4.3 ngtest: ^5.0.0-dev.2 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" diff --git a/ngrouter/mono_pkg.yaml b/ngrouter/mono_pkg.yaml index 15a4d6d6de..055bbbf082 100644 --- a/ngrouter/mono_pkg.yaml +++ b/ngrouter/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngrouter/pubspec.yaml b/ngrouter/pubspec.yaml index bc27a10d5b..583f68973d 100644 --- a/ngrouter/pubspec.yaml +++ b/ngrouter/pubspec.yaml @@ -20,4 +20,4 @@ dev_dependencies: lints: ^2.1.0 mockito: ^5.4.3 ngtest: ^5.0.0-dev.2 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" diff --git a/ngtest/mono_pkg.yaml b/ngtest/mono_pkg.yaml index cd3c645849..cafc1cf48c 100644 --- a/ngtest/mono_pkg.yaml +++ b/ngtest/mono_pkg.yaml @@ -1,6 +1,7 @@ sdk: - pubspec - dev + - stable stages: - analyze: diff --git a/ngtest/pubspec.yaml b/ngtest/pubspec.yaml index ae63d2b14c..969a41c525 100644 --- a/ngtest/pubspec.yaml +++ b/ngtest/pubspec.yaml @@ -18,4 +18,4 @@ dev_dependencies: build_test: ^2.2.1 build_web_compilers: ^4.0.4 lints: ^2.1.0 - test: ^1.24.4 + test: ">=1.24.0 <1.25.0" diff --git a/tool/package_versions.yaml b/tool/package_versions.yaml index 6fff33e32e..384667a68c 100644 --- a/tool/package_versions.yaml +++ b/tool/package_versions.yaml @@ -33,5 +33,5 @@ source_span: ^1.10.0 string_scanner: ^1.2.0 stream_transform: ^2.1.0 term_glyph: ^1.2.1 -test: ^1.24.4 -watcher: ^1.1.0 \ No newline at end of file +test: ">=1.24.0 <1.25.0" +watcher: ^1.1.0