bytecodealliance / bytecodealliance/sample-wasi-http-rust

Use Cargo Component Action

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
29
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Replace the `run` steps in the workflow that build the wasm component with a GH action that outputs the .wasm file name to be used in future steps to avoid using `env.ComponentName`.

Contributor guide

Open the contributing guide

Research direction

Locate the GitHub Actions workflow and inspect the run steps that build the wasm component. Read the Cargo Component Action documentation to identify its filename output, then verify that later workflow steps consume that output instead of env.ComponentName. Done means the workflow builds the component and passes the resulting .wasm filename to subsequent steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust, wasm
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.