24 lines
494 B
YAML
24 lines
494 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: subosito/flutter-action@v1
|
|
|
|
- run: flutter doctor -v
|
|
- run: flutter pub get
|
|
- run: flutter analyze
|
|
- run: flutter format .
|
|
- run: flutter test
|