Showing
1 changed file
with
35 additions
and
0 deletions
.github/workflows/runnable.yml
0 → 100644
| 1 | +name: Runnable (stable) | ||
| 2 | + | ||
| 3 | +on: | ||
| 4 | + push: | ||
| 5 | + branches: | ||
| 6 | + - main | ||
| 7 | + pull_request: | ||
| 8 | + branches: | ||
| 9 | + - main | ||
| 10 | + | ||
| 11 | +jobs: | ||
| 12 | + analyze: | ||
| 13 | + name: Analyze on ${{ matrix.os }} | ||
| 14 | + runs-on: ${{ matrix.os }} | ||
| 15 | + strategy: | ||
| 16 | + matrix: | ||
| 17 | + os: [ ubuntu-latest ] | ||
| 18 | + steps: | ||
| 19 | + - uses: actions/checkout@v1 | ||
| 20 | + - uses: actions/setup-java@v1 | ||
| 21 | + with: | ||
| 22 | + java-version: '11.x' | ||
| 23 | + - uses: subosito/flutter-action@v2 | ||
| 24 | + with: | ||
| 25 | + channel: 'stable' | ||
| 26 | + - name: Log Dart/Flutter versions | ||
| 27 | + run: | | ||
| 28 | + dart --version | ||
| 29 | + flutter --version | ||
| 30 | + - name: Prepare dependencies | ||
| 31 | + run: flutter pub get | ||
| 32 | + - name: Analyse the repo | ||
| 33 | + run: flutter analyze lib | ||
| 34 | + - name: Run tests | ||
| 35 | + run: flutter test |
-
Please register or login to post a comment