From 2e3bd6ff7b5e40d49a40293e3edb55b1bf94b80c Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Wed, 20 Oct 2021 23:08:43 +0000 Subject: [PATCH 1/5] Upgrade dependency_validator --- .github/workflows/dart_ci.yml | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index c3a56b1c..5c72e887 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -27,7 +27,7 @@ jobs: run: dart pub get - name: Validate dependencies - run: dart pub run dependency_validator -i build_runner,build_test,build_web_compilers,meta + run: dart dart run dependency_validator if: always() && steps.install.outcome == 'success' - name: Verify formatting diff --git a/pubspec.yaml b/pubspec.yaml index 0852f939..17bfdb55 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,7 @@ dev_dependencies: build_runner: ^1.6.5 build_test: ^0.10.8 build_web_compilers: ^2.12.0 - dependency_validator: ^1.2.0 + dependency_validator: ^2.0.0 matcher: ^0.12.5 mockito: ">=4.1.1 <6.0.0" test: ^1.6.5 From eebdb1349cd262f217f6a1c53c15a19fab211f66 Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Sat, 30 Oct 2021 08:46:49 -0600 Subject: [PATCH 2/5] ignore meta --- .github/workflows/dart_ci.yml | 2 +- pubspec.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index 5c72e887..922b84bf 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -27,7 +27,7 @@ jobs: run: dart pub get - name: Validate dependencies - run: dart dart run dependency_validator + run: dart run dependency_validator if: always() && steps.install.outcome == 'success' - name: Verify formatting diff --git a/pubspec.yaml b/pubspec.yaml index 17bfdb55..cea15d2c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,3 +16,7 @@ dev_dependencies: matcher: ^0.12.5 mockito: ">=4.1.1 <6.0.0" test: ^1.6.5 + +dependency_validator: + ignore: + - meta # ignore the pin for now \ No newline at end of file From 76f5d7fe2c0f63c917a57cc1de01ee5d49afe4a0 Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Sat, 30 Oct 2021 08:53:46 -0600 Subject: [PATCH 3/5] fix whitewspace in dart_ci.yaml --- .github/workflows/dart_ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index 922b84bf..48defe96 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -30,9 +30,9 @@ jobs: run: dart run dependency_validator if: always() && steps.install.outcome == 'success' - - name: Verify formatting - run: dart format --output=none --line-length=120 --set-exit-if-changed . - if: always() && ${{ matrix.sdk }} == 'stable' && steps.install.outcome == 'success' + - name: Verify formatting + run: dart format --output=none --line-length=120 --set-exit-if-changed . + if: always() && ${{ matrix.sdk }} == 'stable' && steps.install.outcome == 'success' - name: Analyze project source run: dart analyze From 7eaa5ec1fd734b4a3b3558868d68d8568f176e7e Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Sat, 30 Oct 2021 09:11:21 -0600 Subject: [PATCH 4/5] run github actions on 2.13.4 --- .github/workflows/dart_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index 48defe96..29a8ab48 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - sdk: [stable, beta] + sdk: [2.13.4, stable, beta] steps: - uses: actions/checkout@v2 - uses: dart-lang/setup-dart@v0.1 From 8cf490105f66f1d2ca14cdd991b557e4f44a0313 Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Sat, 30 Oct 2021 09:16:20 -0600 Subject: [PATCH 5/5] try fixing github actions again --- .github/workflows/dart_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index 29a8ab48..f620b616 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -15,9 +15,9 @@ jobs: sdk: [2.13.4, stable, beta] steps: - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v0.1 + - uses: dart-lang/setup-dart@v1 with: - channel: ${{ matrix.sdk }} + sdk: ${{ matrix.sdk }} - name: Print Dart SDK version run: dart --version