Skip to content

Commit

Permalink
Make upgrade check a separate step (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris authored Feb 9, 2024
1 parent 5e8bfb6 commit 47d94e3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47d94e3

Please sign in to comment.