mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
clean up rust.yml (#1939)
This commit is contained in:
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
@@ -58,8 +58,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
- run: rustup target add wasm32-unknown-unknown
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
@@ -87,8 +87,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
- run: rustup target add wasm32-unknown-unknown
|
|
||||||
- name: check
|
- name: check
|
||||||
run: cargo check -p eframe --lib --no-default-features --features glow,persistence --target wasm32-unknown-unknown
|
run: cargo check -p eframe --lib --no-default-features --features glow,persistence --target wasm32-unknown-unknown
|
||||||
|
|
||||||
@@ -101,8 +101,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
- run: rustup target add wasm32-unknown-unknown
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
@@ -136,7 +136,7 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
override: true
|
override: true
|
||||||
- run: rustup component add rustfmt
|
components: rustfmt
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
@@ -191,8 +191,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
- run: rustup target add wasm32-unknown-unknown
|
|
||||||
- run: ./sh/setup_web.sh
|
- run: ./sh/setup_web.sh
|
||||||
- run: ./sh/wasm_bindgen_check.sh
|
- run: ./sh/wasm_bindgen_check.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user