[codex] Add storage sync settings UI #67
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: [master, main] | |
| paths: | |
| - 'app/**' | |
| - '.github/workflows/**' | |
| pull_request: | |
| branches: [master, main] | |
| paths: | |
| - 'app/**' | |
| - '.github/workflows/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FLUTTER_VERSION: '3.38.5' | |
| jobs: | |
| quality: | |
| name: Code quality checks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: app | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{ env.FLUTTER_VERSION }} | |
| cache: true | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Check formatting | |
| run: dart format --set-exit-if-changed . | |
| - name: Analyze code | |
| run: flutter analyze --no-fatal-warnings --no-fatal-infos | |
| - name: Run tests with coverage | |
| run: flutter test --coverage | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| files: app/coverage/lcov.info | |
| flags: client | |
| token: ${{ secrets.CODECOV_TOKEN }} |