dart_general.yml 754 B

123456789101112131415161718192021222324252627282930313233
  1. # This workflow uses actions that are not certified by GitHub.
  2. # They are provided by a third-party and are governed by
  3. # separate terms of service, privacy policy, and support
  4. # documentation.
  5. name: Dart
  6. on:
  7. push:
  8. branches: [ main ]
  9. pull_request:
  10. branches: [ main ]
  11. env:
  12. CARGO_TERM_COLOR: always
  13. jobs:
  14. flutter-analyze:
  15. name: flutter analyze
  16. runs-on: ubuntu-latest
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v2
  20. - uses: subosito/flutter-action@v1
  21. with:
  22. channel: "dev"
  23. - name: flutter pub get
  24. working-directory: frontend/app_flowy
  25. run: flutter pub get
  26. - name: flutter analyze
  27. working-directory: frontend/app_flowy
  28. run: flutter analyze