1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

clean up rust.yml (#1939)

This commit is contained in:
Emil Ernerfeldt
2022-08-20 09:32:48 +02:00
committed by GitHub
parent 193a434717
commit 5c63648c02

View File

@@ -58,8 +58,8 @@ jobs:
with:
profile: minimal
toolchain: 1.61.0
target: wasm32-unknown-unknown
override: true
- run: rustup target add wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: check
@@ -87,8 +87,8 @@ jobs:
with:
profile: minimal
toolchain: 1.61.0
target: wasm32-unknown-unknown
override: true
- run: rustup target add wasm32-unknown-unknown
- name: check
run: cargo check -p eframe --lib --no-default-features --features glow,persistence --target wasm32-unknown-unknown
@@ -101,8 +101,8 @@ jobs:
with:
profile: minimal
toolchain: 1.61.0
target: wasm32-unknown-unknown
override: true
- run: rustup target add wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: check
@@ -136,7 +136,7 @@ jobs:
profile: minimal
toolchain: 1.61.0
override: true
- run: rustup component add rustfmt
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
@@ -191,8 +191,8 @@ jobs:
with:
profile: minimal
toolchain: 1.61.0
target: wasm32-unknown-unknown
override: true
- run: rustup target add wasm32-unknown-unknown
- run: ./sh/setup_web.sh
- run: ./sh/wasm_bindgen_check.sh