check: Add step to install libsqlite3-dev
system dependency
#999
+3
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
package:sqlite3
requires the system-installed sqlite3 shared library (libsqlite3.so
) when running directly via Dart, on Linux. Whereas, when running under Flutter, it uses bundled libraries provided bypackage:sqlite3_flutter_libs
.Recently, the
ubuntu-latest
runner image has switched to defaulting toubuntu-24.04
:actions/runner-images#10636
Previously, it used
ubuntu-22.04
, which had thelibsqlite3-dev
package pre-installed:https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#installed-apt-packages
However, the
ubuntu-24.04
image no longer includes this package by default:https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#installed-apt-packages
As a result, five unit tests now fail with the following error:
To resolve these test failures, add a step to manually install the
libsqlite3-dev
package.