Files
actions/language-version-detect
Ismo Vuorinen 08773dea53 fix(lint): resolve action-validator failure on language-version-detect
- Remove unsupported `deprecated: true` from language-version-detect/action.yml
  (deprecation already communicated via description field)
- Scope action-validator pre-commit hook to workflow and action.yml files only
- Make missing pre-commit a hard error in lint-actions target
2026-03-20 12:34:56 +02:00
..
2025-11-21 15:46:33 +02:00

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@main
  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: ""