chore: update dependencies (#358) #978
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: 🧹 Lint project | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: 🧹 Lint project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📥 Checkout code | |
| uses: actions/checkout@v6 | |
| - name: 🚀 Cache pub dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.pub-cache | |
| key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} | |
| restore-keys: ${{ runner.os }}-pub- | |
| - name: 📱 Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.38.5' | |
| channel: 'stable' | |
| cache: true | |
| - name: 📦 Install dependencies | |
| run: flutter pub get | |
| - name: 📦 Generate localizations | |
| run: flutter gen-l10n | |
| - name: 📦 Format generated localizations | |
| run: dart format lib/l10n | |
| - name: 🔍 Analyze project source | |
| run: flutter analyze | |
| - name: ✨ Verify formatting | |
| run: dart format --output=none --set-exit-if-changed . |