mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
31 lines
613 B
YAML
31 lines
613 B
YAML
name: Flutter and Dart
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: stable
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Analyze code
|
|
run: flutter analyze --fatal-infos --fatal-warnings
|
|
|
|
- name: Verify formatting
|
|
run: dart format --output=none --set-exit-if-changed .
|
|
|
|
- name: Run tests
|
|
run: flutter test -r github
|