Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2024-03-26. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Поддержка языка GitHub

Обзор языков программирования, поддерживаемых функциями GitHub.

About supported languages

Most GitHub features work regardless of which languages your code is written in. You can search for code or enable syntax highlighting based on any language known to GitHub. For more information, see "Searching code" or "Creating and highlighting code blocks."

Some GitHub products have features that are currently only supported for a subset of programming languages.

Core languages supported by GitHub features

Core languages for GitHub features include C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby, Scala, and TypeScript. For features that support package managers, the currently supported package managers are included in the table with their relevant languages.

Some features are supported for additional languages or package managers. If you want to know whether another language is supported for a feature or to request support for a language, visit GitHub Community discussions.

LanguageCode scanningDependency graph, Dependabot alertsDependabot version updates, Dependabot security updatesGitHub ActionsGitHub Packages
C
C++
C#
dotnet CLI

dotnet CLI

dotnet CLI
Go
Go modules

Go modules
Java
Maven, Gradle

Maven, Gradle

Maven, Gradle
JavaScript
npm, Yarn

npm

npm
PHP
Composer

Composer
Python
pip

pip
Ruby
RubyGems

RubyGems

RubyGems
Scala
Maven, Gradle

Maven, Gradle
TypeScript
npm, Yarn

npm

npm

Notes:

  • The support of Gradle for the dependency graph and Dependabot alerts is limited to the upload of data obtained using the dependency submission API.
  • PHP and Scala are supported for code scanning by third-party actions.