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