Skip to content

Commit

Permalink
chore: Bump Melos to ^5.3.0 (#12633)
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Apr 12, 2024
1 parent f2cef8c commit 097fe75
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all_plugins.yaml
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
melos-version: '3.0.1'
- name: 'Run Analyze'
run: melos run analyze
run: melos analyze-ci

# Separated from "analyse" action as pubspec_override file is not being taken into account when running `flutter pub publish --dry-run`
# This will fail on CI until this is fixed: https://github.com/invertase/melos/issues/467
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -198,10 +198,10 @@ commands can be run locally to highlight any issues before committing your code:

```bash
# Run the analyze check
melos run analyze
melos analyze-ci

# Format code
melos run format
melos format-ci
```

Assuming all is successful, commit and push your code:
Expand Down
6 changes: 3 additions & 3 deletions melos.yaml
Expand Up @@ -25,10 +25,10 @@ command:

scripts:
lint:all:
run: melos run analyze && melos run format
run: melos run analyze-ci && melos run format-ci
description: Run all static analysis checks.

analyze:
analyze-ci:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: |
Expand All @@ -46,7 +46,7 @@ scripts:
integration testing.
- Requires Node.js and NPM installed.
format:
format-ci:
run: |
dart pub global run flutter_plugin_tools format && \
swiftformat .
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -4,4 +4,4 @@ environment:
sdk: '>=2.18.0 <4.0.0'

dev_dependencies:
melos: ^3.0.1
melos: ^5.3.0

0 comments on commit 097fe75

Please sign in to comment.