-
-
Notifications
You must be signed in to change notification settings - Fork 27
34 lines (28 loc) · 786 Bytes
/
dart.yml
File metadata and controls
34 lines (28 loc) · 786 Bytes
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
name: Dart
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
sdk: [stable]
steps:
- uses: actions/checkout@v6
- uses: dart-lang/setup-dart@v1.4
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: |
dart format --output=none --set-exit-if-changed $(find lib/src -name "*.dart" -not \( -name "*models.dart" \) )
dart format --output=none --set-exit-if-changed $(find test -name "*.dart" )
- name: Analyze project source
run: dart analyze
- name: Run tests
run: dart test -x full_perft