From 47d94e393e8426eac1bc901033a66346fd2b3e74 Mon Sep 17 00:00:00 2001 From: Ron Kuris Date: Fri, 9 Feb 2024 10:54:50 -0800 Subject: [PATCH] Make upgrade check a separate step (#524) --- .github/workflows/ci.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 565d849e9..98dc6ad51 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -101,6 +101,25 @@ jobs: run: cargo fmt -- --check - name: Clippy run: cargo clippy --tests --examples --benches --all-features -- -D warnings + + upgrades: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Restore Check Deps + id: cache-build-deps-restore + uses: actions/cache/restore@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ needs.build.outputs.cache-key }} + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable - name: Cargo Edit run: cargo install cargo-edit - name: Cargo upgrade