twonly-app/.github/workflows/dev_github.yml

33 lines
624 B
YAML
Raw Normal View History

2025-10-16 21:58:56 +00:00
name: Flutter analyze & test
2025-07-19 11:04:57 +00:00
on:
workflow_dispatch: {}
push:
branches:
- dev
2025-07-19 14:16:15 +00:00
paths:
- lib/**/*.dart
2025-07-19 11:04:57 +00:00
jobs:
2025-10-16 21:58:56 +00:00
flutter_analyze_and_test:
2025-07-19 11:04:57 +00:00
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Cloning sub-repos
run: git submodule update --init --recursive
- name: Check flutter code
run: |
flutter pub get
flutter analyze
flutter test