Skip to content

Commit

Permalink
ci: add flutter analyze workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev authored Jul 6, 2023
1 parent ef99c1b commit ed5e060
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Flutter Analyze

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1

- name: Install dependencies
run: dart pub get

- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .

- name: Analyze project source
run: dart analyze --fatal-infos

0 comments on commit ed5e060

Please sign in to comment.