Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Separate business logic from UI widgets #35

Separate business logic from UI widgets

Separate business logic from UI widgets #35

Workflow file for this run

name: Analyze and format
on:
# Trigger the workflow on pushes to the main and feature branches as well as PRs targeting them.
push:
branches: [main, feature/**]
pull_request:
branches: [main, feature/**]
# Allows us to run the workflow manually from the Actions tab
workflow_dispatch:
env:
flutter_version: 3.13.6
jobs:
analyze-format:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: 'stable'
cache: true
- name: Analyze (lint)
run: flutter analyze
- name: Check format
run: dart format --output=none --set-exit-if-changed . -l 150