Skip to content

Commit 43bcde1

Browse files
add git workflows for test and build
1 parent d594f71 commit 43bcde1

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/build.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Dart
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: dart-lang/setup-dart@v1
13+
14+
- run: dart pub get
15+
- run: ./build.sh

.github/workflows/test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Dart
33
on:
44
pull_request:
55
branches: [main]
6-
push:
7-
branches: [main]
86

97
jobs:
108
build:

0 commit comments

Comments
 (0)