feat: offline translations + sync hardening + tamper-proofing (closes #42 #43 #45 #47 #49 #52 #53 #55 #56 #64 #67 #72 #75) #162
Workflow file for this run
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
| # Flutter CI: analyze, test | |
| name: CI | |
| on: | |
| push: | |
| branches: [main, master, develop] | |
| pull_request: | |
| branches: [main, master, develop] | |
| jobs: | |
| analyze-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: "3.38.9" | |
| channel: "stable" | |
| cache: true | |
| - name: Prepare example app config | |
| run: | | |
| if [ -f "example/lib/config/app_config.example.dart" ]; then | |
| cp example/lib/config/app_config.example.dart example/lib/config/app_config.dart | |
| fi | |
| - name: Get dependencies | |
| run: flutter pub get | |
| - name: Format code | |
| run: dart format . | |
| - name: Analyze | |
| run: flutter analyze --no-fatal-infos | |
| - name: Format check | |
| run: dart format --set-exit-if-changed . | |
| - name: Test | |
| run: flutter test |