Create dart.yml
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
name: Dart CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: google/dart:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pub get
|
||||||
|
- name: Run tests
|
||||||
|
run: pub run test
|
||||||
|
- name: Flutter CLI
|
||||||
|
uses: steebchen/flutter@v1.0.0
|
||||||
|
run: flutter build apk --debug
|
||||||
|
|
||||||
Reference in New Issue
Block a user