feat: 0.8.0 - Federated architecture migration with community bugfixes #232
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: | | |
| echo "=== Git status before formatting ===" | |
| git status --porcelain | |
| echo "=== Running dart format ===" | |
| dart format . | |
| echo "=== Git diff after formatting ===" | |
| git diff | |
| echo "=== Git status after formatting ===" | |
| git status --porcelain | |
| echo "=== Now running with --set-exit-if-changed ===" | |
| 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 | |
| flutter pub get | |
| flutter pub publish -n | |
| cd ../workmanager_platform_interface | |
| flutter pub publish -n | |
| cd ../workmanager_android | |
| flutter pub publish -n | |
| cd ../workmanager_ios | |
| flutter pub publish -n |