imp: upgrade gradle & compilesdk for android #695
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: code analysis & formatting | |
on: | |
- push | |
- pull_request | |
defaults: | |
run: | |
shell: bash | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
analysis_and_formatting: | |
name: Analysis & Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: Version | |
run: flutter doctor -v | |
- name: Install melos | |
run: | | |
flutter pub global activate melos | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH | |
- name: Initialize workspace through melos | |
run: melos bootstrap | |
- name: Linter | |
run: melos analyze | |
- name: Format | |
run: melos format --output none --set-exit-if-changed |