Skip to content

Commit

Permalink
Use cargo-install action to cache cargo-semver-checks install
Browse files Browse the repository at this point in the history
Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
  • Loading branch information
Caellian committed Sep 17, 2023
1 parent 59713a9 commit e1bc0f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
- run: cargo install cargo-semver-checks
- name: Install cargo-semver-check from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-semver-checks
version: "^0.23"
- name: Run semver check
run: cargo semver-checks check-release

0 comments on commit e1bc0f7

Please sign in to comment.