From 370b914c717e3ee6e5a7415c511c0bdc63bb02f9 Mon Sep 17 00:00:00 2001 From: Olzhas Suleimen Date: Sun, 19 Nov 2023 10:10:23 +0600 Subject: [PATCH] Update CI. --- .github/workflows/dart.yml | 100 ++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index f47594a0ac..55821cbb0f 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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