Create pr-check.yml
[skip ci]
This commit is contained in:
parent
7be8dcd63f
commit
899a31d208
1 changed files with 17 additions and 0 deletions
17
.github/workflows/pr-check.yml
vendored
Normal file
17
.github/workflows/pr-check.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue