Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte@element.io>
This commit is contained in:
Benjamin Kampmann
2022-04-28 10:25:03 +02:00
committed by GitHub
parent 4b6ed22476
commit 5b13cf4e92
2 changed files with 4 additions and 1 deletions

View File

@@ -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 }}

View File

@@ -324,6 +324,7 @@ fn run_wasm_pack_tests(cmd: Option<WasmFeatureSet>) -> Result<()> {
Ok(())
}
fn workspace_root() -> Result<PathBuf> {
#[derive(Deserialize)]
struct Metadata {