fix: Pin code metrics version for workaround a bug

This commit is contained in:
Christian Pauly 2022-02-01 15:04:15 +01:00
parent 48572f8f10
commit 2761691e7c
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ code_quality:
stage: coverage
image: google/dart
before_script:
- dart pub global activate dart_code_metrics
- dart pub global activate dart_code_metrics 4.4.0
script:
- dart pub global run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json
artifacts:

View File

@ -31,7 +31,7 @@ dependencies:
fluffybox: ^0.4.2
dev_dependencies:
dart_code_metrics: ^4.4.0
dart_code_metrics: 4.4.0 # Pinned because of https://github.com/dart-code-checker/dart-code-metrics/issues/674
pedantic: ^1.11.0
test: ^1.15.7
coverage: ">=0.15.0 <2.0.0"