Automate release of new versions to google play / apple store #420
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: Static analysis | |
on: | |
pull_request: | |
jobs: | |
static_analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: '3.13.7' | |
- name: Statically analyze the Dart code for any errors/warnings, ignoring "info" level warnings | |
run: | | |
if flutter analyze 2>&1 | grep -q -E 'error:|warning:'; | |
then exit 1 | |
else exit 0 | |
fi | |
- name: Test | |
run: flutter test |