Skip to content

PR MASTER to DEV #180

PR MASTER to DEV

PR MASTER to DEV #180

Workflow file for this run

name: Plugin code analysis
on:
push:
branches:
- "master"
- "dev"
- "bugfix"
paths-ignore:
- "**/README.md"
- "docs/**"
pull_request:
branches:
- "master"
- "dev"
- "bugfix"
jobs:
check-lint-flutter:
name: Lint (flutter)
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
cache: true
- name: Lint
run: dart format --output=none --set-exit-if-changed lib/
check-code-analysis-flutter:
name: Code analysis (flutter)
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
cache: true
- name: Install dependencies
run: flutter pub get
- name: Analyze code
run: flutter analyze --no-fatal-infos