mrf/gdstrict
Install gdstrict and run format --check, lint, and/or check on a GDScript project. Optionally installs a pinned Godot binary for the strict-typing check command (Linux runners only).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Git ref (branch, tag, or commit SHA) of gdstrict to install when install-method is cargo-install. Ignored when install-method is prebuilt (not yet available). | no | main |
| install-method | How to install gdstrict. Only 'cargo-install' is supported today (prebuilt binaries are not yet shipped). | no | cargo-install |
| install-godot | Install a headless Godot binary so the check command can run the engine's own strict-typing analyzer. Only works on Linux runners. Must be 'true' when run-check is 'true'. | no | false |
| godot-version | Godot release version to install, e.g. '4.6.2'. This should be pinned to the version the project's gdstrict.toml was tuned for. Bumping it is a deliberate act — Godot's diagnostic output is an unstable contract and a new release may change which warnings fire. | no | 4.6.2 |
| run-format-check | Run gdstrict format --check (exits 1 if any file would change). | no | true |
| run-lint | Run gdstrict lint (syntactic naming rules). | no | true |
| run-check | Run gdstrict check (strict-typing enforcement via headless Godot). Requires install-godot: true. | no | false |
| working-directory | Directory to run gdstrict commands in (must be a Godot project root). | no | . |
Outputs
| name | description |
|---|---|
| gdstrict-version | The installed gdstrict version string. |