Apply-ts-for-search-result-of-album-widget #23
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: Code quality check | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Check the source code quality | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: '3.24.2' | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install packages | |
run: flutter pub get | |
- name: Linter | |
run: flutter analyze | |
- name: Build APK | |
run: flutter build apk | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: apk-release | |
path: build/app/outputs/flutter-apk/app-release.apk |