feat: shared preference init #6041
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: "Flutter" | |
on: | |
pull_request: | |
push: | |
jobs: | |
analyze: | |
name: Wallet | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" # or: 'beta', 'dev' or 'master' | |
- run: | | |
flutter --version | |
cd wallet | |
mkdir env | |
chmod +x ./borg.sh | |
./borg.sh boot | |
flutter analyze | |
flutter test | |
easel: | |
name: easel | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" # or: 'beta', 'dev' or 'master' | |
- run: | | |
flutter --version | |
cd easel | |
touch lib/env.dart | |
echo "const apiKey = \"${{ secrets.EASEL_TOKEN }}\"; " >> lib/env.dart | |
./android/app/json_manipulator.sh RANDOM_STRING | |
flutter pub get | |
flutter analyze | |
flutter build appbundle --debug | |
flutter test | |
dart_sdk: | |
name: SDK | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" # or: 'beta', 'dev' or 'master' | |
- run: | | |
flutter --version | |
cd dart_sdk | |
flutter pub get | |
flutter analyze | |
flutter test |