mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-30 11:40:41 +00:00
Mark language-version-detect as deprecated now that all internal usages have been inlined. Inline version detection provides better performance by eliminating action initialization overhead. Changes: - Add DEPRECATED notice to action.yml description and metadata - Add deprecation warning banner to README with migration guidance - Reference existing actions with inline detection patterns Users should migrate to inlining version detection logic directly into their actions rather than using this composite action. See pr-lint, php-laravel-phpunit, python-lint-fix, and go-build for examples. This action will be removed in a future release.
ivuorinen/actions/language-version-detect
Language Version Detect
Description
DEPRECATED: This action is deprecated. Inline version detection directly in your actions instead. Detects language version from project configuration files with support for PHP, Python, Go, and .NET.
Inputs
| name | description | required | default |
|---|---|---|---|
language |
Language to detect version for (php, python, go, dotnet) |
true |
"" |
default-version |
Default version to use if no version is detected |
false |
"" |
token |
GitHub token for authentication |
false |
"" |
Outputs
| name | description |
|---|---|
detected-version |
Detected or default language version |
package-manager |
Detected package manager (python: pip/poetry/pipenv, php: composer) |
Runs
This action is a composite action.
Usage
- uses: ivuorinen/actions/language-version-detect@v2025
with:
language:
# Language to detect version for (php, python, go, dotnet)
#
# Required: true
# Default: ""
default-version:
# Default version to use if no version is detected
#
# Required: false
# Default: ""
token:
# GitHub token for authentication
#
# Required: false
# Default: ""