627 B
627 B
Enforce Flutter Version Constraint
Recursively scans all pubspec.yaml files in the repository and verifies that their Flutter SDK environment constraints match the configured expected value. Non-Flutter/pure Dart packages are automatically skipped.
Inputs
| Name | Description | Required | Default |
|---|---|---|---|
expected_version |
The exact Flutter SDK constraint string expected in the pubspec. | Yes | ^3.19.0 |
Example Usage
- name: Verify Flutter SDK version constraint
uses: rodydavis/shared-actions/enforce-flutter-version@main
with:
expected_version: '^3.19.0'