chore: update remaining version strings to 1.1.2 #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Native WorkManager CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test_dart: | |
| name: Dart Linting & Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version-file: .flutter-version | |
| channel: stable | |
| cache: true | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Verify formatting | |
| run: dart format --output=none --set-exit-if-changed lib/ test/ | |
| - name: Analyze code | |
| run: flutter analyze --no-fatal-infos | |
| - name: Run unit tests | |
| run: flutter test test/unit/ | |
| build_android: | |
| name: Build Validation (Android) | |
| runs-on: ubuntu-latest | |
| needs: test_dart | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version-file: .flutter-version | |
| channel: stable | |
| cache: true | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '17' | |
| cache: gradle | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Build Android (Debug) | |
| run: | | |
| cd example | |
| flutter build apk --debug --no-pub | |
| build_ios: | |
| name: Build Validation (iOS) | |
| runs-on: macos-latest | |
| needs: test_dart | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version-file: .flutter-version | |
| channel: stable | |
| cache: true | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Build iOS (Debug/No-Codesign) | |
| run: | | |
| cd example | |
| flutter build ios --no-codesign --debug --no-pub |