Skip to content

Commit

Permalink
CI: Validate minimal dependency versions
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 22, 2024
1 parent 8148bc7 commit 66f4585
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,22 @@ jobs:
run: rustup component add rustfmt clippy

- name: Lint
run: ./lint.sh
run: cargo version && ./lint.sh

minimal-dependency-versions:
name: Validate minimal dependency versions
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Set Rust version
run: rustup default 1.74

- name: Install cargo-hack and cargo-minimal-versions
run: |
rustup toolchain add nightly &&
cargo +nightly install cargo-hack cargo-minimal-versions --locked
- name: Validate minimal dependency versions
run: cargo minimal-versions check --workspace

0 comments on commit 66f4585

Please sign in to comment.