Skip to content

Commit 63571cc

Browse files
committed
ci: add "latest versions" check
1 parent d125a79 commit 63571cc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ jobs:
3838
- name: Build (with "json" feature)
3939
run: cargo build --features json
4040

41+
# https://doc.rust-lang.org/nightly/cargo/guide/continuous-integration.html#verifying-latest-dependencies
42+
latest_deps:
43+
name: Latest Dependencies
44+
runs-on: ubuntu-latest
45+
continue-on-error: true
46+
env:
47+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
48+
steps:
49+
- uses: actions/checkout@v4
50+
- run: rustup update stable && rustup default stable
51+
- run: cargo update --verbose
52+
- run: cargo build --verbose
53+
- run: cargo build --verbose --features json
54+
- run: cargo build --verbose --no-default-features
55+
4156
security-audit:
4257
runs-on: ubuntu-latest
4358
steps:

0 commit comments

Comments
 (0)