File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 32
32
with :
33
33
melos-version : ' 3.0.1'
34
34
- name : ' Run Analyze'
35
- run : melos run analyze
35
+ run : melos analyze-ci
36
36
37
37
# Separated from "analyse" action as pubspec_override file is not being taken into account when running `flutter pub publish --dry-run`
38
38
# This will fail on CI until this is fixed: https://github.com/invertase/melos/issues/467
Original file line number Diff line number Diff line change @@ -198,10 +198,10 @@ commands can be run locally to highlight any issues before committing your code:
198
198
199
199
``` bash
200
200
# Run the analyze check
201
- melos run analyze
201
+ melos analyze-ci
202
202
203
203
# Format code
204
- melos run format
204
+ melos format-ci
205
205
```
206
206
207
207
Assuming all is successful, commit and push your code:
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ command:
25
25
26
26
scripts :
27
27
lint:all :
28
- run : melos run analyze && melos run format
28
+ run : melos run analyze-ci && melos run format-ci
29
29
description : Run all static analysis checks.
30
30
31
- analyze :
31
+ analyze-ci :
32
32
# We are setting the concurrency to 1 because a higher concurrency can crash
33
33
# the analysis server on low performance machines (like GitHub Actions).
34
34
run : |
@@ -46,7 +46,7 @@ scripts:
46
46
integration testing.
47
47
- Requires Node.js and NPM installed.
48
48
49
- format :
49
+ format-ci :
50
50
run : |
51
51
dart pub global run flutter_plugin_tools format && \
52
52
swiftformat .
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ environment:
4
4
sdk : ' >=2.18.0 <4.0.0'
5
5
6
6
dev_dependencies :
7
- melos : ^3.0.1
7
+ melos : ^5. 3.0
You can’t perform that action at this time.
0 commit comments