Skip to content

Commit

Permalink
Update dart-analyzer workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LucJosin committed Apr 13, 2023
1 parent 1948adb commit d66701b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/dart-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
flutter config --no-analytics
flutter pub global activate melos ${{env.melos-version}}
# Melos boostrap
# Melos bootstrap
- name: "Bootstrap workspace (Melos)"
run: melos bootstrap

# Run Flutter Format to ensure formatting is valid
- name: "Run flutter format"
run: flutter format --set-exit-if-changed .
# Run dart format to ensure formatting is valid
- name: "Run dart format"
run: melos exec dart format . --fix

# Dart analyzer
# Run dart analyzer
- name: "Run Dart Analyze"
uses: invertase/github-action-dart-analyzer@v1
with:
Expand All @@ -53,7 +53,3 @@ jobs:
annotate: true
annotate-only: false
working-directory: ./packages

# Dry run
- name: "Dry run"
run: flutter pub publish --dry-run
4 changes: 0 additions & 4 deletions .github/workflows/scripts/install-flutter.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/scripts/install-tools.sh

This file was deleted.

0 comments on commit d66701b

Please sign in to comment.