-
Notifications
You must be signed in to change notification settings - Fork 25
35 lines (29 loc) · 908 Bytes
/
base.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
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Base
on: [push, pull_request]
jobs:
base:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [3.0, 3.1, 3.2, 3.3, 3.4, stable]
defaults:
run:
working-directory: ./base
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Format check
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-warnings --fatal-infos
- name: Run tests
run: bash ./coverage.sh && bash <(curl -s https://codecov.io/bash)