From 518862c51b5bcee2ff7646bd97315440372323cc Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Mon, 13 May 2024 08:40:34 +0100 Subject: [PATCH] check dependency versions (#7) * check dependency versions * version++ --- .github/workflows/run-tests.yml | 19 +++++++++++++++++++ Cargo.toml | 8 ++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b2ae542..adb74cd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -36,3 +36,22 @@ jobs: run: cargo test --examples --release ${{ matrix.feature-flags }} - name: Test benchmarks build run: cargo bench --no-run --features "strict" + + check-dependencies: + name: Check dependencies + runs-on: ubuntu-latest + strategy: + matrix: + rust-version: ["stable"] + steps: + - name: Set up Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ matrix.rust-version }} + components: rustfmt + - name: Install cargo-upgrades + run: cargo install cargo-upgrades + - uses: actions/checkout@v3 + - name: Check that dependencies are up to date + run: + cargo upgrades diff --git a/Cargo.toml b/Cargo.toml index cd2e085..f6ed51d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,10 +36,10 @@ cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] wildcard_imports = "forbid" [target.aarch64-apple-darwin.dev-dependencies] -blas-src = { version = "0.9", features = ["accelerate"]} -lapack-src = { version = "0.9", features = ["accelerate"]} +blas-src = { version = "0.10", features = ["accelerate"]} +lapack-src = { version = "0.10", features = ["accelerate"]} [target.x86_64-unknown-linux-gnu.dev-dependencies] -blas-src = { version = "0.9", features = ["blis"]} -lapack-src = { version = "0.9", features = ["netlib"]} +blas-src = { version = "0.10", features = ["blis"]} +lapack-src = { version = "0.10", features = ["netlib"]}