Browse Source

add GitHub workflow

Luke Pighetti 5 years ago
parent
commit
17f357c12a
1 changed files with 22 additions and 0 deletions
  1. 22 0
      .github/workflows/dart.yml

+ 22 - 0
.github/workflows/dart.yml

@@ -0,0 +1,22 @@
+name: Flutter CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v1
+      - uses: actions/setup-java@v1
+        with:
+          java-version: '12.x'
+      - uses: subosito/flutter-action@v1
+        with:
+          flutter-version: '1.9.1+hotfix.6'
+      - run: flutter pub get
+      - run: flutter test