Add Flutter CI workflow and sync hardening docs
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Flutter CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
analyze_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: 3.41.1
|
||||
channel: stable
|
||||
cache: true
|
||||
|
||||
- name: Flutter pub get
|
||||
run: flutter pub get
|
||||
|
||||
- name: Flutter analyze
|
||||
run: flutter analyze
|
||||
|
||||
- name: Flutter test
|
||||
run: flutter test
|
||||
Reference in New Issue
Block a user