Re-Add Code #489
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-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install latest CocoaPods Version | |
run: sudo gem install cocoapods | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
- name: Install Flutter Packages | |
run: flutter pub get | |
- name: Analyze Project | |
run: dart analyze --fatal-warnings | |
- name: Run Tests | |
run: flutter test | |
- name: Install CocoaPods | |
run: cd ./ios && pod install | |
- name: Install Java SDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Build iOS | |
run: flutter build ipa --no-codesign | |
- name: Build Android | |
run: flutter build apk | |
#- name: Build Website | |
# run: flutter build web --base-href / |