ci(browser): name clippy and rustfmt, which this job actually uses
The browser job lints harness/opfs-contract because it is not a workspace member and the `test` job's workspace-wide fmt and clippy cannot reach it. It was relying on the toolchain action's defaults for the two components it runs. Named, like the `test` job does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -94,6 +94,9 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: wasm32-unknown-unknown
|
||||
# Named rather than assumed: this job lints harness/opfs-contract,
|
||||
# which the `test` job's workspace-wide fmt and clippy cannot reach.
|
||||
components: clippy, rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user