-
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@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
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