twonly-app/.github/workflows/dev_github.yml
2025-10-16 23:58:56 +02:00

32 lines
624 B
YAML

name: Flutter analyze & test
on:
workflow_dispatch: {}
push:
branches:
- dev
paths:
- lib/**/*.dart
jobs:
flutter_analyze_and_test:
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