Skip to content

Commit 79e1913

Browse files
committed
Initial test workflow
1 parent 2716834 commit 79e1913

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/dart.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Dart
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
channel: [stable, beta, dev]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: ./
19+
with:
20+
channel: ${{ matrix.channel }}
21+
22+
- name: Run hello world
23+
run: |
24+
echo "main() { print('hello world'); }" > hello.dart
25+
dart hello.dart

0 commit comments

Comments
 (0)