-
-
Notifications
You must be signed in to change notification settings - Fork 73
37 lines (28 loc) · 764 Bytes
/
validate.yaml
File metadata and controls
37 lines (28 loc) · 764 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
35
36
37
name: validate
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: 📚 Checkout repository
uses: actions/checkout@v4
- name: 🐦 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: 📦 Get dependencies
run: dart pub get
- name: 🔧 Generate mocks
run: dart run build_runner build --delete-conflicting-outputs
- name: 📝 Format
run: ./scripts/format.sh
- name: 📊 Analyze
run: ./scripts/analyze.sh
- name: 🧪 Test
run: dart test --coverage=coverage
- name: 🔎 Check Publish Warnings
run: dart pub publish --dry-run