Newer
Older
jobs:
bench:
name: Run benchmarks daily
runs-on: ubuntu-latest
steps:
uses: actions/[email protected]
- name: Install Rust nightly toolchain
uses: actions-rs/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Run benchmark
run: cargo bench -p jsonrpsee-benchmarks -- --output-format bencher | tee output.txt
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: output.txt
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: '@niklasad1, @maciejhirsz'
auto-push: true