diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 278da7043..31a459fa5 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -50,13 +50,6 @@ runs: shell: bash run: melos run brb - - name: Install DCM - if: ${{ inputs.run-dcm }} - uses: CQLabs/setup-dcm@v1 - with: - github_token: ${{ inputs.token }} - folders: packages/*/lib - # - name: Run DCM # if: ${{ inputs.run-dcm }} # uses: CQLabs/dcm-action@v1 @@ -68,14 +61,24 @@ runs: # fatal_style: true # fatal_performance: true # fatal_warnings: true - - name: analyze - run: melos run analyze - shell: bash - - name: Run Test run: melos run test shell: bash + - name: Install DCM + if: ${{ inputs.run-dcm }} + uses: CQLabs/setup-dcm@v1 + with: + github_token: ${{ inputs.token }} + + - name: Run fixes + run: melos run fix + shell: bash + + - name: analyze + run: melos run analyze + shell: bash + - name: Run custom_lint run: melos run custom_lint_analyze shell: bash diff --git a/packages/mix/pubspec.yaml b/packages/mix/pubspec.yaml index b1fe456a2..2eca8a077 100644 --- a/packages/mix/pubspec.yaml +++ b/packages/mix/pubspec.yaml @@ -13,10 +13,10 @@ dependencies: sdk: flutter dev_dependencies: - flutter_lints: 2.0.3 + flutter_lints: ^3.0.1 flutter_test: sdk: flutter - dart_code_metrics_presets: 2.9.0 + dart_code_metrics_presets: ^2.13.0 build_runner: ^2.4.9 mix_generator: ^0.1.2 diff --git a/packages/mix_annotations/pubspec.yaml b/packages/mix_annotations/pubspec.yaml index baab0fc34..4e4078a66 100644 --- a/packages/mix_annotations/pubspec.yaml +++ b/packages/mix_annotations/pubspec.yaml @@ -11,5 +11,5 @@ environment: # path: ^1.8.0 dev_dependencies: - lints: ^2.0.0 + lints: ^3.0.0 test: ^1.21.0