From 3991aa404aa1a85b54307f7bf776dc3a94100c77 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Wed, 1 Feb 2023 18:46:09 +0000 Subject: [PATCH] Add "cargo outdated" checks to the GitHub CI workflow. Part of ISSUE #229 --- .github/workflows/rust.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 19d55a9e..06f83f6f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,3 +18,15 @@ jobs: run: pushd src/rust; cargo build --verbose --all; popd - name: Run tests run: pushd src/rust; cargo test --verbose --all; popd + audit: + strategy: + matrix: + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - name: Install tools + run: pushd src/rust; cargo install cargo-outdated; popd + - name: Check for outdated dependencies + script: pushd src/rust; cargo outdated -w --color=always --root-deps-only --exit-code 1 -v; popd