Skip to content

Commit f638265

Browse files
committed
Add GitHub Actions workflow for Flutter CI
1 parent e2d65ae commit f638265

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/flutter_ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Flutter CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: subosito/flutter-action@v2
17+
with:
18+
channel: 'stable'
19+
20+
- name: Install dependencies
21+
run: flutter pub get
22+
23+
- name: Analyze
24+
run: flutter analyze
25+
26+
- name: Run tests
27+
run: flutter test

0 commit comments

Comments
 (0)