fix download card #678
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: Linting, Testing and Building | |
on: | |
push: | |
branches-ignore: | |
- "dev" | |
- "main" | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
- name: Cache pub dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.FLUTTER_HOME }}/.pub-cache | |
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} | |
restore-keys: ${{ runner.os }}-pub- | |
- name: Install Flutter Packages | |
run: flutter pub get | |
- name: Analyze Project | |
run: dart analyze --fatal-warnings | |
- name: Run Tests | |
run: flutter test | |
- name: Build Project | |
run: flutter build ipa --no-codesign |