feature: implemented the presentation layer of the news details futur… #26
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: CI | |
on: push | |
jobs: | |
flutter_test: | |
name: Run flutter test and 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" | |
- name: Decode base64 secrets (api_keys) to lib folder | |
run: echo $SECRETS_FILE_CONTENT | base64 -d > lib/core/configs/api/api_keys.dart | |
env: | |
SECRETS_FILE_CONTENT: ${{ secrets.SECRETS_FILE_CONTENT }} | |
- run: flutter pub get | |
- run: flutter analyze | |
- run: flutter test |