-
-
Notifications
You must be signed in to change notification settings - Fork 21
38 lines (37 loc) · 920 Bytes
/
run_ci.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
37
38
name: Run CI
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight
jobs:
test:
name: Test on ${{ matrix.os }} / dart ${{ matrix.dart }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
dart: 3.0.5
- os: ubuntu-latest
dart: stable
- os: ubuntu-latest
dart: beta
- os: ubuntu-latest
dart: dev
- os: windows-latest
dart: stable
- os: macos-latest
dart: stable
steps:
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.dart }}
- uses: actions/checkout@v3
- run: dart --version
- run: dart pub global activate dev_build
- run: dart pub global run dev_build:run_ci