Skip to content

Update dependency flutter_lints to v4 - autoclosed #190

Update dependency flutter_lints to v4 - autoclosed

Update dependency flutter_lints to v4 - autoclosed #190

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
check:
# we build iOS, therefor we need a MacOS build host
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: beta
- run: flutter format -n --set-exit-if-changed .
- run: flutter analyze
# - run: flutter test --coverage
# - uses: codecov/[email protected]
build:
needs: check
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
flutter_channel: [stable, beta]
include:
- os: macOS-latest
flutter_build: ios --no-codesign
- os: ubuntu-latest
flutter_build: apk
- os: windows-latest
flutter_build: apk
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.flutter_channel }}
- working-directory: example
run: flutter build ${{ matrix.flutter_build }} --debug