-
Notifications
You must be signed in to change notification settings - Fork 4.2k
ci: minor refactors and improvements #7308
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
Conversation
…ll` to install supported tools
…ariable as sparse index is enabled by default
…e to network issues
Changed Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than that, lgtm
# - name: Install cargo-nextest | ||
# uses: baptiste0928/cargo-install@v2.2.0 | ||
# uses: taiki-e/install-action@v2 | ||
# with: | ||
# crate: cargo-nextest | ||
# tool: cargo-nextest | ||
# checksum: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can just remove the commented ones since they're unused? or do we have it kept as a reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dockerfile' changes lgtm
…tion-fork * 'main' of github.com:juspay/hyperswitch: feat(core): [Card Testing Guard] Implement Card Testing Guard (juspay#7108) chore(version): 2025.02.25.0 ci: minor refactors and improvements (juspay#7308) fix(connector): [NMI] Added enum for Void Reason (juspay#7221) ci(CI-pr): disable `cargo-hack` step for hotfix PRs (juspay#7334)
Type of Change
Description
This PR includes minor refactors and improvements to our CI workflows:
baptiste0928/cargo-install
withtaiki-e/install-action
to install tools. This is done because if the binary is not available in cache, thebaptiste0928/cargo-install
action builds it from source, which can take a longer amount of time, as compared totaiki-e/install-action
, which should be deterministic since it pulls pre-built binaries from releases.CARGO_REGISTRIES_CRATES_IO_PROTOCOL
environment variable to enable sparse index, but since it is enabled by default on recent Rust versions, I've removed it.postgres:latest
andredis:latest
withpostgres:alpine
andredis:alpine
respectively, to slightly reduce bandwidth used when pulling images.workflow_dispatch
trigger, which hasn't been used in quite a while, so I've removed it.CI-push
workflow was missing some environment variables that allowed us to handle flaky CI failures due to network issues, so I copied them from theCI-pr
workflow.Motivation and Context
Minor improvements and dependency updates to the CI workflows.
How did you test it?
N/A
Checklist
cargo +nightly fmt --all
cargo clippy