build(deps): bump riverpod_lint from 2.0.1 to 2.0.3 in /packages/flutter_app #340
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: Flutter app code check | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**/.github/**" | |
- "**/.gitignore" | |
- "**/.vscode/**" | |
- "**/README.md" | |
- ".cspell/**" | |
- "Makefile" | |
- "mason.yaml" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths-ignore: | |
- "**/.github/**" | |
- "**/.gitignore" | |
- "**/.vscode/**" | |
- "**/README.md" | |
- ".cspell/**" | |
- "Makefile" | |
- "mason.yaml" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Parse Flutter version | |
id: fvm-config | |
uses: kuhnroyal/flutter-fvm-config-action@v1 | |
- name: Install Flutter | |
id: install-flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ steps.fvm-config.outputs.FLUTTER_VERSION }} | |
channel: ${{ steps.fvm-config.outputs.FLUTTER_CHANNEL }} | |
cache: true | |
- name: Prepare Melos | |
run: echo "MELOS_SDK_PATH=${{ steps.install-flutter.outputs.CACHE-PATH }}" >> "$GITHUB_ENV" | |
- name: Install Melos | |
uses: bluefireteam/melos-action@v2 | |
- name: Analyze packages | |
run: melos run analyze --no-select | |
- name: Check for the existence of unformatted files | |
run: melos run format --no-select | |
- name: Run package tests | |
run: melos run test --no-select | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ~/coverage/lcov.info | |
fail_ci_if_error: false |