mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
chore(mobile): generated files and ci check (#16798)
* chore(mobile): more generated files * ci: verify generated files in mobile are up-to-date --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
d7e0f0e70e
commit
ac1b2d2fab
15 changed files with 20 additions and 5 deletions
25
.github/workflows/static_analysis.yml
vendored
25
.github/workflows/static_analysis.yml
vendored
|
|
@ -50,6 +50,26 @@ jobs:
|
|||
run: dart pub get
|
||||
working-directory: ./mobile
|
||||
|
||||
- name: Run Build Runner
|
||||
run: make build
|
||||
working-directory: ./mobile
|
||||
|
||||
- name: Find file changes
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
id: verify-changed-files
|
||||
with:
|
||||
files: |
|
||||
mobile/**/*.g.dart
|
||||
mobile/**/*.gr.dart
|
||||
mobile/**/*.drift.dart
|
||||
|
||||
- name: Verify files have not changed
|
||||
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||
run: |
|
||||
echo "ERROR: Generated files not up to date! Run make_build inside the mobile directory"
|
||||
echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}"
|
||||
exit 1
|
||||
|
||||
- name: Run dart analyze
|
||||
run: dart analyze --fatal-infos
|
||||
working-directory: ./mobile
|
||||
|
|
@ -61,8 +81,3 @@ jobs:
|
|||
- name: Run dart custom_lint
|
||||
run: dart run custom_lint
|
||||
working-directory: ./mobile
|
||||
|
||||
# Enable after riverpod generator migration is completed
|
||||
# - name: Run dart custom lint
|
||||
# run: dart run custom_lint
|
||||
# working-directory: ./mobile
|
||||
|
|
|
|||
BIN
mobile/lib/providers/activity_service.provider.g.dart
generated
BIN
mobile/lib/providers/activity_service.provider.g.dart
generated
Binary file not shown.
BIN
mobile/lib/providers/api.provider.g.dart
generated
BIN
mobile/lib/providers/api.provider.g.dart
generated
Binary file not shown.
BIN
mobile/lib/providers/app_settings.provider.g.dart
generated
BIN
mobile/lib/providers/app_settings.provider.g.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/lib/providers/immich_logo_provider.g.dart
generated
BIN
mobile/lib/providers/immich_logo_provider.g.dart
generated
Binary file not shown.
BIN
mobile/lib/providers/infrastructure/db.provider.g.dart
generated
BIN
mobile/lib/providers/infrastructure/db.provider.g.dart
generated
Binary file not shown.
BIN
mobile/lib/providers/infrastructure/exif.provider.g.dart
generated
BIN
mobile/lib/providers/infrastructure/exif.provider.g.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/lib/providers/map/map_marker.provider.g.dart
generated
BIN
mobile/lib/providers/map/map_marker.provider.g.dart
generated
Binary file not shown.
BIN
mobile/lib/providers/map/map_service.provider.g.dart
generated
BIN
mobile/lib/providers/map/map_service.provider.g.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/lib/providers/search/people.provider.g.dart
generated
BIN
mobile/lib/providers/search/people.provider.g.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/lib/services/person.service.g.dart
generated
BIN
mobile/lib/services/person.service.g.dart
generated
Binary file not shown.
Loading…
Reference in a new issue