mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-04 04:01:33 +00:00
feat(ci): download cargo-semver-checks
instead of building it (#3378)
This is much quicker to execute. To keep our CI reproducible, I opted to link to a specific version instead of the "latest" release. Updating to a new version is as easy as switching out the version number in the URL.
This commit is contained in:
3
.github/workflows/cache-factory.yml
vendored
3
.github/workflows/cache-factory.yml
vendored
@ -75,6 +75,3 @@ jobs:
|
||||
|
||||
- name: Render docs
|
||||
run: cargo doc --all-features --workspace
|
||||
|
||||
- name: Install tools
|
||||
run: cargo install cargo-semver-checks --locked
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
||||
- name: Check public API for semver violations
|
||||
if: steps.check-released.outputs.code == 200 # Workaround until https://github.com/obi1kenobi/cargo-semver-check/issues/146 is shipped.
|
||||
run: |
|
||||
cargo install cargo-semver-checks --locked
|
||||
wget -q -O- https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.16.1/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C ~/.cargo/bin
|
||||
cargo semver-checks check-release -p ${{ matrix.crate }}
|
||||
|
||||
- name: Enforce no dependency on meta crate
|
||||
|
Reference in New Issue
Block a user