Create pr-check.yml

[skip ci]
This commit is contained in:
Tommy Chow 2022-08-05 23:07:38 -04:00 • committed by GitHub
parent 7be8dcd63f
commit 899a31d208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/workflows/pr-check.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Check PR
on:
pull_request:
branches: main
jobs:
check:
name: Check and test
runs-on: ubuntu-latest
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 test