Skip to content

Commit 14beb62

Browse files
committed
Add CI workflow for github actions
1 parent a7091aa commit 14beb62

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
dart-test:
9+
name: Run Dart test and analyze
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Dart
16+
uses: dart-lang/setup-dart@v1
17+
18+
- name: Install dependencies
19+
run: dart pub get
20+
21+
- name: Analyze project source
22+
run: dart analyze
23+
24+
- name: Run tests
25+
run: dart test

0 commit comments

Comments
 (0)