Test database pipeline 3
Some checks failed
Pull Request Pipeline / lint (pull_request) Has been skipped
Pull Request Pipeline / test (pull_request) Has been skipped
Pull Request Pipeline / localizations (pull_request) Has been skipped
Pull Request Pipeline / database (pull_request) Failing after 28m49s

This commit is contained in:
2026-05-22 16:21:34 +02:00
parent 1eed0dd820
commit acf2f40e62

View File

@@ -119,6 +119,24 @@ jobs:
channel: stable channel: stable
flutter-version: 3.41.0 flutter-version: 3.41.0
- name: Cache pub dependencies
uses: actions/cache@v4
with:
path: |
~/.pub-cache
key: pub-${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
pub-${{ runner.os }}-
- name: Cache build_runner outputs
uses: actions/cache@v4
with:
path: |
.dart_tool/build
key: build-runner-${{ runner.os }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
build-runner-${{ runner.os }}-
- name: Get dependencies - name: Get dependencies
run: | run: |
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.41.0-x64 git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.41.0-x64
@@ -126,13 +144,13 @@ jobs:
- name: Check for generated database files - name: Check for generated database files
run: | run: |
dart run build_runner build --delete-conflicting-outputs dart run build_runner build
# if [ -n "$(git status --porcelain '*.g.dart')" ]; then if [ -n "$(git status --porcelain '*.g.dart')" ]; then
# echo "Generated database files are out of date. Diff:" echo "Generated database files are out of date. Diff:"
# git --no-pager diff -- '*.g.dart' git --no-pager diff -- '*.g.dart'
# exit 1 exit 1
#fi fi
# echo "Generated database files are up to date." echo "Generated database files are up to date."