diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index c3a56b1c..f620b616 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -12,12 +12,12 @@ 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 + - uses: dart-lang/setup-dart@v1 with: - channel: ${{ matrix.sdk }} + sdk: ${{ matrix.sdk }} - name: Print Dart SDK version run: dart --version @@ -27,12 +27,12 @@ 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 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 diff --git a/pubspec.yaml b/pubspec.yaml index 0852f939..cea15d2c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,11 @@ 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 + +dependency_validator: + ignore: + - meta # ignore the pin for now \ No newline at end of file