dart format to get highest pana score (#32) #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VR Player CI/CD | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.x' | |
channel: 'stable' | |
- name: Analyze | |
run: flutter analyze | |
- name: Dart Code Metrics | |
run: dart run dart_code_metrics:metrics analyze lib example/lib | |
- name: Pana check | |
run: | | |
dart pub global activate pana | |
pana --no-warning --exit-code-threshold 10 |