Skip to content

Commit

Permalink
Add CI job using minimal-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 26, 2023
1 parent e44b6e5 commit c67baa0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit c67baa0

Please sign in to comment.