Update ci.yml
This commit is contained in:
parent
899a31d208
commit
cc7862f9b2
1 changed files with 4 additions and 8 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue