mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-02-18 23:35:18 -05:00
Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte@element.io>
This commit is contained in:
committed by
GitHub
parent
4b6ed22476
commit
5b13cf4e92
4
.github/workflows/wasm.yml
vendored
4
.github/workflows/wasm.yml
vendored
@@ -49,10 +49,12 @@ jobs:
|
||||
components: clippy
|
||||
profile: minimal
|
||||
override: true
|
||||
|
||||
- name: Install WasmPack
|
||||
uses: jetli/wasm-pack-action@v0.3.0
|
||||
with:
|
||||
version: 'latest'
|
||||
|
||||
- name: Load cache
|
||||
uses: Swatinem/rust-cache@v1
|
||||
|
||||
@@ -66,4 +68,4 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
||||
args: -p xtask -- ci wasm-pack ${{ matrix.cmd || matrix.name }}
|
||||
args: -p xtask -- ci wasm-pack ${{ matrix.cmd || matrix.name }}
|
||||
|
||||
@@ -324,6 +324,7 @@ fn run_wasm_pack_tests(cmd: Option<WasmFeatureSet>) -> Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn workspace_root() -> Result<PathBuf> {
|
||||
#[derive(Deserialize)]
|
||||
struct Metadata {
|
||||
|
||||
Reference in New Issue
Block a user