dheebz/ty-action
A GitHub Action to run Astral's ty type checker.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Version of ty to install (not yet used; reserved for future installer logic). | no | latest |
| version-file | File to read the ty version from (not yet used). | no | — |
| args | Extra arguments to pass to `ty` (after `check` and paths). | no | "" |
| src | Space-separated paths to check. Defaults to the repository root. | no | "" |
| config-file | Path to ty.toml configuration file (passed as --config-file). | no | — |
| project | Project root directory to pass as --project. | no | — |
| output-format | Value for --output-format (default: github). | no | github |
| error-on-warning | If true, pass --error-on-warning so warnings cause exit code 1. | no | false |
| exit-zero | If true, pass --exit-zero so diagnostics don't fail CI. | no | false |
| github-token | GitHub token (reserved for future use, e.g. downloads). | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| ty-version | The ty version that was run. |