Create main.yml

This commit is contained in:
Tommy 2021-09-03 02:56:52 -04:00 • committed by GitHub
parent 8938cad2f9
commit 83d227d1fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,24 @@
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