LSP-gh-actions
GitHub Actions workflows language server provided through @actions/languageserver
Details
Installs
- Total 0
- Win 0
- Mac 0
- Linux 0
| Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
LSP-gh-actions
GitHub Actions workflows language server provided through @actions/languageserver.
It provides schema validation for the workflow and action files (like LSP-yaml) but also, quoting from actions/languageservice:
- value providers which can dynamically add values to the schema, for example, the list of available labels for a repository when validating
runs-on. - context providers which can dynamically provide available contexts used in expressions. For example, the contents of the
github.eventcontext for a given workflow file.
Installation
- Install LSP and
LSP-gh-actionsfrom Package Control. - Install YamlPipelines package. It provides dedicated syntaxes for GitHub workflows that this server depends on by targeting views with
source.yaml.pipeline.github-actionsscope. - Restart Sublime.
[!NOTE] Package expects the
ghCLI utility to be available on thePATHto get a GitHub token from. Without it some functionality won't work.
Configuration
If you have LSP-yaml installed, you don't want it running for GitHub workflows if you are using LSP-gh-actions. To achieve that, open Preferences: LSP-yaml Settings from the Command Palette and modify the selector to exclude source.yaml.pipeline.github-actions scope. For example:
@@ -61 +61 @@
- "selector": "(source.yml | source.yaml) - (source.yaml.go | source.yaml.helm | source.yaml.esphome)",
+ "selector": "(source.yml | source.yaml) - (source.yaml.go | source.yaml.helm | source.yaml.esphome | source.yaml.pipeline.github-actions)",
Open configuration file using command palette with Preferences: LSP-gh-actions Settings command or opening it from the Sublime menu (Preferences > Package Settings > LSP > Servers > LSP-gh-actions).