refactor: move environment setup to workflow steps#315
Open
danielkov wants to merge 1 commit intodanielkov/feat/ci-commandsfrom
Open
refactor: move environment setup to workflow steps#315danielkov wants to merge 1 commit intodanielkov/feat/ci-commandsfrom
danielkov wants to merge 1 commit intodanielkov/feat/ci-commandsfrom
Conversation
Replace CLI's runtime SetupEnvironment() with official GHA setup actions (setup-python, setup-node, setup-ruby, setup-java, setup-uv, poetry) in composite action and workflow steps. Version inputs (poetry_version, uv_version, pnpm_version) are preserved and wired into the new setup steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
danielkov
added a commit
to speakeasy-api/speakeasy
that referenced
this pull request
Feb 27, 2026
## Summary - Remove `SetupEnvironment()` and all runtime dependency installation (poetry, uv, pnpm, bundler) from the CLI - Delete `setup_environment.go`, the `speakeasy ci setup-env` subcommand, and associated env var getters - Environment setup is now the caller's responsibility — either the Docker action image (pre-installed) or customer workflow steps (official GHAs) This gives customers full control over their toolchain versions without depending on our release cadence. Companion PR: speakeasy-api/sdk-generation-action#315 ✻ Clauded... --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SetupEnvironment()with official GHA setup actions in composite action and workflow stepspoetry_version,uv_version,pnpm_version) preserved and wired into the new setup stepsspeakeasy cidirectly now own their environment setup via standard GHAsCompanion PR: speakeasy-api/speakeasy#1924 (removes SetupEnvironment from CLI)
✻ Clauded...