179 revamp v2 halaman detail soal #248
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: analyzer | |
on: | |
pull_request: | |
branches: | |
- main | |
- development | |
paths: | |
- app/** | |
push: | |
branches: | |
- main | |
- development | |
paths: | |
- app/** | |
jobs: | |
flutter_analyze: | |
name: Run flutter analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: "12.x" | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
flutter-version: '3.13.0' | |
- run: | | |
cd app | |
echo "${{ secrets.ENV_FILE }}" > .env | |
flutter doctor | |
flutter pub get | |
flutter pub run build_runner build | |
flutter analyze | grep -v -E 'info' |