Skip to content

Commit fa6ffec

Browse files
authored
[ffigen] Fix the weekly bot (#1636)
1 parent 290f21a commit fa6ffec

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ffigen_weekly.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ name: ffigen_weekly
55

66
on:
77
# Run once a week.
8+
push:
9+
branches: [main, stable]
10+
paths:
11+
- '.github/workflows/ffigen_weekly.yml'
12+
pull_request:
13+
branches: [main, stable]
14+
paths:
15+
- '.github/workflows/ffigen_weekly.yml'
816
schedule:
917
- cron: "0 0 * * 0"
1018

@@ -22,11 +30,10 @@ jobs:
2230
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
2331
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
2432
with:
25-
flutter-version: 3.19.0
2633
channel: 'stable'
2734
- name: Install dependencies
2835
run: flutter pub get && flutter pub get --directory="../objective_c"
2936
- name: Build test dylib and bindings
30-
run: dart test/setup.dart
37+
run: dart test/setup.dart --main-thread-dispatcher
3138
- name: Run VM tests
3239
run: flutter test

0 commit comments

Comments
 (0)