Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ on:
description: "Glob pattern for .wasm files to validate"
type: string
default: "target/wasm32-wasip2/release/*.wasm"
wasm-target-install:
description: "Rust target to install for the wasm job (e.g., wasm32-wasip1, wasm32-wasip2). Must match the target referenced in wasm-check-args / wasm-build-args / wasm-validate-glob."
type: string
default: "wasm32-wasip2"
# ── dependency-review inputs (DEPRECATED no-ops) ────────────────
# Dependency review moved out of this reusable to avoid the graph-time
# permission cap issue (see header). These inputs are retained as
Expand Down Expand Up @@ -257,7 +261,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ inputs.rust-version }}
targets: wasm32-wasip2
targets: ${{ inputs.wasm-target-install }}
- uses: Swatinem/rust-cache@v2
- if: inputs.setup-script != ''
run: ${{ inputs.setup-script }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/wasm-component-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ on:
description: "Glob pattern for .wasm files to validate"
type: string
default: "target/wasm32-wasip2/release/*.wasm"
wasm-target-install:
description: "Rust target to install for the wasm job (e.g., wasm32-wasip1, wasm32-wasip2). Must match the target referenced in wasm-check-args / wasm-build-args / wasm-validate-glob."
type: string
default: "wasm32-wasip2"
toolchain-variant:
description: "Canonical toolchain variant (host or wasm) for drift check"
type: string
Expand Down Expand Up @@ -80,3 +84,4 @@ jobs:
wasm-build-args: ${{ inputs.wasm-build-args }}
validate-component: ${{ inputs.validate-component }}
wasm-validate-glob: ${{ inputs.wasm-validate-glob }}
wasm-target-install: ${{ inputs.wasm-target-install }}
Loading