Skip to content

doc: Update README.md #641

doc: Update README.md

doc: Update README.md #641

Workflow file for this run

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