frontend_dart.yml 851 B

123456789101112131415161718192021222324252627282930313233343536373839
  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: Frontend_Dart
  6. on:
  7. push:
  8. branches: [ main ]
  9. paths:
  10. - 'frontend/app_flowy'
  11. pull_request:
  12. branches: [ main ]
  13. paths:
  14. - 'frontend/app_flowy'
  15. env:
  16. CARGO_TERM_COLOR: always
  17. jobs:
  18. flutter-analyze:
  19. name: flutter analyze
  20. runs-on: ubuntu-latest
  21. steps:
  22. - name: Checkout
  23. uses: actions/checkout@v2
  24. - uses: subosito/flutter-action@v1
  25. with:
  26. channel: "dev"
  27. - name: flutter pub get
  28. working-directory: frontend/app_flowy
  29. run: flutter pub get
  30. - name: flutter analyze
  31. working-directory: frontend/app_flowy
  32. run: flutter analyze