diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b65bef..b70309a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,16 @@ jobs: - run: cargo build - run: cargo test --features serde/derive,serde/rc + minimal: + name: Minimal versions + runs-on: ubuntu-latest + timeout-minutes: 45 + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo generate-lockfile -Z minimal-versions + - run: cargo check --locked + clippy: name: Clippy runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 6780c38..6fc173e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/serde-rs/test" rust-version = "1.56" [dependencies] -serde = "1.0.60" +serde = "1.0.69" [dev-dependencies] serde = { version = "1", features = ["rc"] }