Skip to content

Update docs

Update docs #66

Workflow file for this run

name: Code Quality
on: [push, pull_request]
defaults:
run:
shell: bash
env:
PUB_ENVIRONMENT: bot.github
jobs:
quality_checks:
name: Static Analysis and Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Flutter Version Info
run: flutter doctor -v
- name: Cache Pub Dependencies
uses: actions/cache@v4
with:
path: |
~/.pub-cache
.dart_tool
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Install Melos
run: |
flutter pub global activate melos
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- name: Bootstrap Workspace
run: melos bootstrap
- name: Run Static Analysis
run: melos analyze
- name: Check Code Formatting
run: melos exec -- "dart format --set-exit-if-changed ."