-
Notifications
You must be signed in to change notification settings - Fork 569
41 lines (38 loc) · 1.01 KB
/
dartpad_ui.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
39
40
41
name: package:dartpad_ui
permissions: read-all
on:
push:
branches: [ main ]
paths:
- '.github/workflows/dartpad_ui.yml'
- 'pkgs/dartpad_ui/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/dartpad_ui.yml'
- 'pkgs/dartpad_ui/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
validate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/dartpad_ui/
strategy:
fail-fast: false
matrix:
sdk: [ beta, main ]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
with:
channel: ${{ matrix.sdk }}
- run: flutter --version
- run: flutter pub get
- run: flutter analyze
- name: validate that GenAI has not been enabled
run: git grep "genAiEnabled = false"
- run: dart format --set-exit-if-changed .
- run: flutter build web
- run: flutter test