build(deps): bump lints from 5.1.0 to 5.1.1 #210
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: Build Flutter example | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
pull_request: | |
branches: [ master ] | |
paths-ignore: [ '**.md' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./examples/flutter/github_search | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- name: Install melos | |
run: dart pub global activate melos | |
- name: Melos Boostrap | |
run: melos bootstrap | |
- name: Print Dart SDK version | |
run: dart --version | |
- name: Print Flutter SDK version | |
run: flutter --version | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Format code | |
run: dart format lib --set-exit-if-changed | |
- name: Analyze | |
run: flutter analyze lib | |
- name: Build Debug APK | |
run: flutter build apk --debug --no-shrink |