Skip to content

Commit

Permalink
Edit ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-73 committed May 17, 2021
1 parent b5a9e18 commit 9a87ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 1 addition & 5 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a87ac9

Please sign in to comment.