Skip to content

Commit b466522

Browse files
committed
fix up MSRV build in CI
1 parent a0d6eb6 commit b466522

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: cargo test --all-features
7979

8080
msrv:
81-
name: "Tests / MSRV"
81+
name: "Build / MSRV"
8282
runs-on: ubuntu-latest
8383
steps:
8484
- name: Checkout sources
@@ -88,7 +88,7 @@ jobs:
8888
run: rustup update 1.57.0
8989

9090
- name: Version features
91-
run: cargo +1.57.0 test --features "$VERSION_FEATURES"
91+
run: cargo +1.57.0 build --manifest-path tests/smoke-test/Cargo.toml
9292

9393
wasm_bindgen:
9494
name: Tests / WebAssembly (wasm-bindgen)

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,6 @@ features = ["Win32_System_Com"]
180180

181181
[workspace]
182182
members = [
183-
"macros"
183+
"macros",
184+
"tests/smoke-test",
184185
]

tests/smoke-test/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cargo.lock

tests/smoke-test/Cargo.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "uuid-smoke-test"
3+
version = "0.0.0"
4+
publish = false
5+
edition = "2018"
6+
7+
[dependencies.uuid]
8+
path = "../../"
9+
features = ["v1", "v3", "v4", "v5"]

tests/smoke-test/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fn main() { }

0 commit comments

Comments
 (0)