-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Feat: implement CoinGecko API integration for dynamic coin mappings (…
…#49) * ✨ implement CoinGecko API integration for dynamic coin mappings * ♻️ add benchmarking workflow and implement CoinGecko benchmarks * fix: ensure proper formatting in Cargo.toml for benchmarks section * Update src/constants.rs Co-authored-by: 0xevolve <Artevolve@yahoo.com> * ✨ add CoinGecko API integration for fetching coin mappings * ♻️ rename cargo-lint job to cargo-bench and adjust CoinGecko API pagination * ♻️ refactor CoinGecko benchmarks to use mock data and implement retry logic for API initialization --------- Co-authored-by: 0xevolve <Artevolve@yahoo.com>
- Loading branch information
Showing
11 changed files
with
475 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: Task - Benchmarks | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
cargo-bench: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# selecting a toolchain either by action or manual `rustup` calls should happen | ||
# before the plugin, as the cache uses the current rustc version as its cache key | ||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
- name: Benchmarks | ||
run: | | ||
cargo bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.