feat: 0.8.0 - Federated architecture migration with community bugfixes #240
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: format + publishable | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| format_dart: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Format | |
| run: | | |
| flutter pub get | |
| dart format --set-exit-if-changed . | |
| format_kotlin: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "checkout" | |
| uses: actions/checkout@v4 | |
| - name: ktlint | |
| uses: ScaCap/action-ktlint@master | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| format_swift: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: GitHub Action for SwiftLint | |
| uses: norio-nomura/action-swiftlint@3.2.1 | |
| publishable: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: publish checks | |
| run: | | |
| dart pub global activate melos | |
| melos bootstrap | |
| cd workmanager_platform_interface | |
| flutter pub publish -n | |
| cd ../workmanager_android | |
| flutter pub publish -n | |
| cd ../workmanager_ios | |
| flutter pub publish -n | |
| cd ../workmanager | |
| flutter pub publish -n |