Skip to content

Commit

Permalink
Add cargo-minimal-versions for direct dependencies
Browse files Browse the repository at this point in the history
There are a bunch of errors for transitive dependencies, so will not
include that in our checks for now

Closes #179
  • Loading branch information
spencewenski committed Jun 3, 2024
1 parent 21396e2 commit 6deb8ae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ jobs:
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private

# https://doc.rust-lang.org/cargo/guide/continuous-integration.html#verifying-rust-version
minimal_direct_deps:
name: Direct dep min version check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- run: cargo minimal-versions check --direct --all-features

check_formatting:
name: Formatting
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6deb8ae

Please sign in to comment.