Skip to content

Commit 097fe75

Browse files
authored
chore: Bump Melos to ^5.3.0 (#12633)
1 parent f2cef8c commit 097fe75

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/all_plugins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
melos-version: '3.0.1'
3434
- name: 'Run Analyze'
35-
run: melos run analyze
35+
run: melos analyze-ci
3636

3737
# Separated from "analyse" action as pubspec_override file is not being taken into account when running `flutter pub publish --dry-run`
3838
# This will fail on CI until this is fixed: https://github.com/invertase/melos/issues/467

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ commands can be run locally to highlight any issues before committing your code:
198198

199199
```bash
200200
# Run the analyze check
201-
melos run analyze
201+
melos analyze-ci
202202

203203
# Format code
204-
melos run format
204+
melos format-ci
205205
```
206206

207207
Assuming all is successful, commit and push your code:

melos.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ command:
2525

2626
scripts:
2727
lint:all:
28-
run: melos run analyze && melos run format
28+
run: melos run analyze-ci && melos run format-ci
2929
description: Run all static analysis checks.
3030

31-
analyze:
31+
analyze-ci:
3232
# We are setting the concurrency to 1 because a higher concurrency can crash
3333
# the analysis server on low performance machines (like GitHub Actions).
3434
run: |
@@ -46,7 +46,7 @@ scripts:
4646
integration testing.
4747
- Requires Node.js and NPM installed.
4848
49-
format:
49+
format-ci:
5050
run: |
5151
dart pub global run flutter_plugin_tools format && \
5252
swiftformat .

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ environment:
44
sdk: '>=2.18.0 <4.0.0'
55

66
dev_dependencies:
7-
melos: ^3.0.1
7+
melos: ^5.3.0

0 commit comments

Comments
 (0)