-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (56 loc) · 1.54 KB
/
main.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: ci
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
test-2_12:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '2.0.0'
channel: 'stable'
- run: ls -la
- run: cp analysis_options_2_12.yaml analysis_options.yaml
- run: make version get downgrade dry-run test
# runs the latest dart version supported by the package
test-latest:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: ls -la
- run: make
# runs the latest dart version supported by the package
test-unstable:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'master'
- run: ls -la
- run: make upgrade all
# semantic_pull_request:
# uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
# spell-check:
# uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
# with:
# includes: "**/*.md"
# modified_files_only: false
# build:
# uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
# runs the oldest dart version supported by the package