without export #743
Workflow file for this run
This file contains 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: Dart Format & Analyze | |
on: push | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: subosito/flutter-action@v2.12.0 | |
name: Set up Flutter SDK | |
with: | |
channel: 'stable' | |
cache: true | |
- name: Retrieve the secret and decode it to file | |
env: | |
FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }} | |
run: | | |
cd khelo | |
echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart | |
- name: Install dependencies | |
run: | | |
cd data && flutter clean && flutter pub get | |
cd ../style && flutter clean && flutter pub get | |
cd ../khelo && flutter clean && flutter pub get | |
cd .. | |
- name: Lint test | |
run: | | |
cd data && flutter analyze --fatal-infos | |
cd ../style && flutter analyze --fatal-infos | |
cd ../khelo && flutter analyze --fatal-infos | |
cd .. |