Skip to content

refactor: move environment setup to workflow steps#315

Open
danielkov wants to merge 1 commit intodanielkov/feat/ci-commandsfrom
refactor/external-env-setup
Open

refactor: move environment setup to workflow steps#315
danielkov wants to merge 1 commit intodanielkov/feat/ci-commandsfrom
refactor/external-env-setup

Conversation

@danielkov
Copy link
Copy Markdown
Contributor

Summary

  • Replace CLI's runtime SetupEnvironment() with official GHA setup actions in composite action and workflow steps
  • Add setup-python, poetry, setup-uv, setup-node, setup-ruby, setup-java, setup-gradle to action.yml, workflow-executor.yaml, and sdk-test.yaml
  • Version inputs (poetry_version, uv_version, pnpm_version) preserved and wired into the new setup steps
  • Customers calling speakeasy ci directly now own their environment setup via standard GHAs

Companion PR: speakeasy-api/speakeasy#1924 (removes SetupEnvironment from CLI)

✻ Clauded...

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 danielkov requested a review from a team as a code owner February 27, 2026 14:23
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant