Skip to content

Commit 5384f04

Browse files
authored
Fix triangle example by adding missing dev-dependency (#139)
* Re-add winit 0.27 as dev dependency This fixes a compile error in the `triangle` example accidentally introduced in a previous PR. * Check examples compile in GitHub Actions
1 parent 222e4d9 commit 5384f04

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
with:
4040
command: test
4141
args: --workspace --all-features
42+
- name: Check examples
43+
continue-on-error: ${{ matrix.continue-on-error || false }}
44+
uses: actions-rs/cargo@v1
45+
with:
46+
command: check
47+
args: --examples
4248

4349
cargo-audit:
4450
name: cargo audit

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ wio = "0.2"
3737
pollster = "0.2"
3838
wgpu = "0.15"
3939
wgpu-subscriber = "0.1.0"
40+
winit = "0.27"
4041

4142
[workspace]
4243
members = [".", "renderdoc-sys"]

0 commit comments

Comments
 (0)