docs: add README files for all shared actions
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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'
|
||||
```
|
||||
Reference in New Issue
Block a user