Files
shared-actions/enforce-flutter-version/README.md
T

19 lines
627 B
Markdown

# 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
```yaml
- name: Verify Flutter SDK version constraint
uses: rodydavis/shared-actions/enforce-flutter-version@main
with:
expected_version: '^3.19.0'
```