ci: only test direct minimal dependencies and not transitive ones because, per what I recall of Jon Gjengset's thoughts on the matter, it means there's a bug in a dependency rather than a bug in this codebase (and a bug in an old and obsolete version of their crate at that, so what would be the point?)

This commit is contained in:
J / Jacob Babich
2024-10-03 02:19:59 -04:00
parent 0fcdfdae30
commit e4e2efafb9

View File

@@ -52,11 +52,11 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Check (minimal dependencies)
run: cargo minimal-versions check --workspace
- name: Check (direct minimal dependencies)
run: cargo minimal-versions check --direct --workspace
- name: Build (minimal dependencies)
run: cargo minimal-versions build --workspace
- name: Build (direct minimal dependencies)
run: cargo minimal-versions build --direct --workspace
- name: Test (minimal dependencies)
run: cargo minimal-versions test --workspace
- name: Test (direct minimal dependencies)
run: cargo minimal-versions test --direct --workspace