Skip to content

Commit 7267c30

Browse files
committed
Update workflow
1 parent 8fb84d7 commit 7267c30

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/base.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,22 @@ jobs:
3636

3737
- name: Install dependencies
3838
run: flutter pub get
39+
40+
- name: Run l10n
41+
run: flutter gen-l10n
42+
3943
- name: Format code
4044
run: dart format --set-exit-if-changed $(find . -name "*.dart" -not -wholename "./lib/localization/intl/*")
45+
4146
- name: Analyze static code
4247
run: flutter analyze
48+
4349
- name: Run tests
4450
run: flutter test
51+
4552
- name: Check publish warnings
4653
run: dart pub publish --dry-run
54+
4755
- name: Build example
4856
run: |
4957
cd example
@@ -68,13 +76,19 @@ jobs:
6876
runs-on: ubuntu-latest
6977
steps:
7078
- uses: actions/checkout@v4
79+
7180
- uses: dart-lang/setup-dart@v1
81+
7282
- name: Flutter action
7383
uses: subosito/flutter-action@v2
7484
with:
7585
channel: 'stable'
7686
# use the build-in cache from Subosito
7787
cache: true
88+
89+
- name: Run l10n
90+
run: flutter gen-l10n
91+
7892
- name: Publish package
7993
run: dart pub publish -v -f
8094

0 commit comments

Comments
 (0)