docs(v1.9.2): nettoyage README + cohérence PRIVACY/TERMS/SECURITY #28
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Analyze + Test + Build (debug) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout app | |
| uses: actions/checkout@v6 | |
| with: | |
| path: pdf_tech | |
| - name: Checkout files_tech_core (path dependency) | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: gitubpatrice/files_tech_core | |
| path: files_tech_core | |
| - name: Setup Java 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Flutter version | |
| run: flutter --version | |
| - name: Pub get | |
| working-directory: pdf_tech | |
| run: flutter pub get | |
| - name: Analyze | |
| working-directory: pdf_tech | |
| run: flutter analyze --no-fatal-infos | |
| - name: Run tests | |
| working-directory: pdf_tech | |
| run: flutter test || echo "No tests yet" | |
| - name: Build APK (debug, unsigned) | |
| working-directory: pdf_tech | |
| run: flutter build apk --debug | |
| - name: Upload APK artifact | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: pdf_tech-debug-${{ github.sha }} | |
| path: pdf_tech/build/app/outputs/flutter-apk/app-debug.apk | |
| retention-days: 7 | |
| if-no-files-found: ignore |