Skip to content

fix(ci): add Go, TinyGo setup to release workflow - #1139

Merged
pcfreak30 merged 1 commit into
LumeWeb:developfrom
pcfreak30:fix/release-workflow-tinygo
Jul 31, 2026
Merged

fix(ci): add Go, TinyGo setup to release workflow#1139
pcfreak30 merged 1 commit into
LumeWeb:developfrom
pcfreak30:fix/release-workflow-tinygo

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented Jul 31, 2026

Copy link
Copy Markdown
Member

The Release workflow (release.yml) runs pnpm build which triggers build:wasm via turbo, but was missing Go/TinyGo setup and contract type generation. These steps exist in build.yml but were never copied to release.yml, causing sh: 1: tinygo: not found during release builds.

Added:

  • actions/setup-go@v5 (Go 1.24)
  • acifani/setup-tinygo@v2 (TinyGo 0.36.0)
  • TinyGo env vars (TINYGOROOT, TINYGOPATH)
  • Contract type generation (pnpm --filter=@lumeweb/lbry-sdk generate)

What changed
Updated the release workflow (.github/workflows/release.yml) so the release job can build the parts of the project that depend on Go/TinyGo:

  • Added a step to install Go 1.24.
  • Added a step to install TinyGo 0.36.0.
  • Added environment variables for TINYGOROOT and TINYGOPATH.
  • Added a step to generate contract types with pnpm --filter=@lumeweb/lbry-sdk generate before the main build step.

Why
The release build requires TinyGo-based generation to run, but the workflow was missing the Go/TinyGo toolchain setup. This change ensures the release job can fully build and publish the project.

The release workflow runs pnpm build which triggers build:wasm via
turbo, but was missing Go/TinyGo setup and contract type generation.
Copy these steps from build.yml.
@kody-ai

kody-ai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@pcfreak30
pcfreak30 merged commit d755106 into LumeWeb:develop Jul 31, 2026
3 checks passed
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