mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 12:28:40 +00:00
32 lines
624 B
YAML
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
|