Skip to content

Commit

Permalink
Merge pull request #325 from Workiva/batch/cplat/update_dep_validator
Browse files Browse the repository at this point in the history
Upgrade dependency_validator
  • Loading branch information
rmconsole4-wk authored Nov 1, 2021
2 parents 1e93f9d + 8cf4901 commit ca98758
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dart_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 5 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ca98758

Please sign in to comment.