Skip to content

Commit ebacb27

Browse files
authored
Create flutter_ci.yml
1 parent e8900c2 commit ebacb27

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/flutter_ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Flutter CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
flutter-ci:
11+
name: Flutter CI (Latest Stable)
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Flutter (latest stable)
18+
uses: subosito/flutter-action@v2
19+
with:
20+
channel: stable
21+
22+
- name: Install dependencies
23+
run: flutter pub get
24+
25+
- name: Format check
26+
run: dart format . --output=none
27+
28+
- name: Analyze (fail on deprecated usage)
29+
run: flutter analyze --fatal-infos
30+
31+
- name: Run tests
32+
run: flutter test

0 commit comments

Comments
 (0)