Skip to content

Merge pull request #1 from talsec/feat/malware #16

Merge pull request #1 from talsec/feat/malware

Merge pull request #1 from talsec/feat/malware #16

Workflow file for this run

name: Flutter CI
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '.github/**'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- '.github/**'
workflow_dispatch:
env:
FLUTTER_VERSION: 3.24.0
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/[email protected]
with:
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: ✂ Format Code
run: dart format --set-exit-if-changed .
- name: 📊 Analyze Code
run: flutter analyze --fatal-infos --fatal-warnings .
build-android:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/[email protected]
with:
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: 🤖 Build Android app
run: flutter build apk --release