forked from cubetiq/cubetiq_dart_shared
25 lines
429 B
YAML
25 lines
429 B
YAML
|
name: Dart
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: dart pub get
|
||
|
|
||
|
- name: Analyze project source
|
||
|
run: dart analyze
|
||
|
|
||
|
- name: Run tests
|
||
|
run: dart test
|