Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,43 @@ jobs:
- name: "Flutter Test - Web"
run: melos run test:web --no-select

analyze:
name: "Analyze all with fatal infos"
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: flutter-actions/setup-flutter@v4

- name: "Install Tools"
run: ./.github/workflows/scripts/install-tools.sh

- name: "Bootstrap Workspace"
run: melos bootstrap

- name: "Analyze"
run: melos run analyze:infos

downgrade:
name: "Downgrade and analyze all with fatal warnings"
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: flutter-actions/setup-flutter@v4

- name: "Install Tools"
run: ./.github/workflows/scripts/install-tools.sh

- name: "Bootstrap Workspace"
run: melos bootstrap

- name: "Downgrade"
run: melos run downgrade

- name: "Analyze"
run: melos run analyze:warnings
17 changes: 16 additions & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,29 @@ scripts:
- Analyze the project for Dart analysis issues.
- Requires `pub global activate tuneup`.

analyze:
analyze:infos:
run: |
melos exec -c 5 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.

analyze:warnings:
run: |
melos exec -c 5 -- \
dart analyze . --fatal-warnings
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.

downgrade:
run: |
melos exec -c 5 -- \
dart pub downgrade
description: |
Runs `dart pub downgrade` in all packages.

format:
run: dart pub global run flutter_plugin_tools format
description: |
Expand Down
Loading