Skip to content

CI: Use cargo-binstall for pre-compiled binary installation #11472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- master
- binstall

pull_request:

Expand All @@ -16,6 +17,8 @@ concurrency:

env:
CARGO_TERM_COLOR: always
# renovate: datasource=github-releases depName=cargo-bins/cargo-binstall
BINSTALL_VERSION: 1.14.1
# renovate: datasource=crate depName=cargo-deny versioning=semver
CARGO_DENY_VERSION: 0.18.3
# renovate: datasource=crate depName=cargo-machete versioning=semver
Expand Down Expand Up @@ -141,10 +144,12 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- run: cargo install cargo-deny --vers ${CARGO_DENY_VERSION}
- run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/v${BINSTALL_VERSION}/install-from-binstall-release.sh | bash

- run: cargo binstall cargo-deny@${CARGO_DENY_VERSION}
- run: cargo deny check

- run: cargo install cargo-machete --vers ${CARGO_MACHETE_VERSION}
- run: cargo binstall cargo-machete@${CARGO_MACHETE_VERSION}
- run: cargo machete

backend-test:
Expand Down
Loading