Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Jun 27, 2024
1 parent 9cad819 commit 26005ad
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
25 changes: 14 additions & 11 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/mix/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/mix_annotations/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ environment:
# path: ^1.8.0

dev_dependencies:
lints: ^2.0.0
lints: ^3.0.0
test: ^1.21.0

0 comments on commit 26005ad

Please sign in to comment.