MCPcopy Index your code
hub / github.com/cue-lang/setup-cue

github.com/cue-lang/setup-cue @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
6 symbols 23 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

setup-cue

Install a specific CUE CLI version on your GitHub Actions runner

Use this action in your GitHub Actions workflow to install a specific version of CUE on your runner. The input version is a version string like v0.6.0, or v0.6.0-beta.1. You can also use the version query latest (default) to use the latest release of cue. Releases and pre-releases of cue are listed here.

- uses: cue-lang/setup-cue@v1.0.0
  with:
    version: '<version>' # default is latest
  id: install

The input and output schemas are best described using CUE itself:

#inputs: {
    // Version of CUE
    version: *"latest" | string
}

#outputs: {
    // Path to the cached CUE binary
    "cuectl-path": string
}

Please refer to action.yml for more details.

The cached cue binary path is prepended to the PATH environment variable and can be executed directly in later workflow steps. It is also stored in the cuectl-path output variable.

Issues/Discussions

Please use the main CUE repository to raise issues or start discussions about the setup-cue action.

Contributing

This project follows the CUE Contribution Guide.

Thanks

An initial version of this project was graciously donated to the CUE project by Christian Bargmann and the folks from MOIA GmbH.

Core symbols most depended-on inside this repo

getExecutableExtension
called by 2
src/run.ts
getLatestCuectlVersion
called by 2
src/run.ts
getCuectlOSArchitecture
called by 1
src/run.ts
getCuectlDownloadURL
called by 1
src/run.ts
downloadCuectl
called by 1
src/run.ts
run
called by 1
src/run.ts

Shape

Function 6

Languages

TypeScript100%

Modules by API surface

src/run.ts6 symbols

For agents

$ claude mcp add setup-cue \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact