AppFlowy/.github/workflows/frontend_dart.yml

40 lines
851 B
YAML
Raw Normal View History

2021-11-29 13:49:22 +00:00
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
2021-12-01 12:32:17 +00:00
name: Frontend_Dart
2021-11-29 13:49:22 +00:00
on:
push:
branches: [ main ]
2021-11-30 07:35:15 +00:00
paths:
- 'frontend/app_flowy'
2021-11-29 13:49:22 +00:00
pull_request:
branches: [ main ]
2021-11-30 07:35:15 +00:00
paths:
- 'frontend/app_flowy'
2021-11-29 13:49:22 +00:00
env:
CARGO_TERM_COLOR: always
jobs:
flutter-analyze:
name: flutter analyze
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: "dev"
- name: flutter pub get
working-directory: frontend/app_flowy
run: flutter pub get
- name: flutter analyze
working-directory: frontend/app_flowy
run: flutter analyze