Skip to content

Instantly share code, notes, and snippets.

@erluxman

erluxman/main.yml

Last active Jun 12, 2020
Embed
What would you like to do?
Snippet for flutter build on github
on: push
name: Flutter CI
jobs:
build:
name: Build and Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter pub get
- run: flutter build aot
- run: flutter analyze
- run: flutter test --coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment