Update ci.yml

This commit is contained in:
Tommy Chow 2022-08-05 23:07:57 -04:00 • committed by GitHub
parent 899a31d208
commit cc7862f9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,10 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches: main
jobs:
test:
name: Test on ${{ matrix.os }}
name: Check and test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -16,9 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
cache: true
- run: flutter doctor -v
- run: flutter pub get
- run: flutter analyze
- run: flutter format .
- run: flutter test