diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index d7c6f30..6f55f38 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -48,15 +48,12 @@ jobs: - name: 'Install Tools' run: | flutter pub global activate melos - flutter pub global activate import_sorter - name: 'Clean Workspace' run: melos clean - name: 'Bootstrap Workspace' run: melos bootstrap - - name: 'Melos Format Code' - run: melos run format:code - - name: 'Melos Format Import' - run: melos run format:import + - name: 'Format Code' + run: melos run format - name: 'Validate Formatting' run: | ./.github/workflows/scripts/validate-formatting.sh \ No newline at end of file diff --git a/melos.yaml b/melos.yaml index 0567396..2d06eb4 100644 --- a/melos.yaml +++ b/melos.yaml @@ -11,14 +11,10 @@ ide: true scripts: - format:code: > + format: > melos exec -c 6 -- \ dartfmt -w . - format:import: > - melos exec -c 6 -- \ - pub global run import_sorter:main lib\/* --no-comments - # Run `dart analyze` in all packages. # Note: you can also rely on your IDEs Dart Analysis / Issues window. analyze: