-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 896 Bytes
/
dart.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Dart
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PUB_ENVIRONMENT: bot.github
jobs:
analyze-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk:
- stable
- beta
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
with:
submodules: true
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed example lib test tool
- name: Analyze code
run: dart analyze --fatal-infos example lib test tool
- name: Run VM tests
run: dart test --reporter=github --test-randomize-ordering-seed=random