Skip to content

chore(deps): bump tokio from 1.48.0 to 1.49.0 #1007

chore(deps): bump tokio from 1.48.0 to 1.49.0

chore(deps): bump tokio from 1.48.0 to 1.49.0 #1007

name: "Run Benchmarks"
on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- '.github/workflows/benchmark*.yml'
- 'Cargo.toml'
- 'benches/**'
- 'src/**'
jobs:
benchmark_fork_pr_branch:
if: "github.event.pull_request.head.repo.full_name != github.repository"
name: Run Fork PR Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust
uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921 # stable
with:
toolchain: stable
targets: ${{ matrix.target }}
- name: Rust Cache
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
- uses: bencherdev/bencher@main
- name: Track base branch benchmarks with Bencher
run: |
cargo bench --features bench_internals > benchmark_results.log
- name: Upload Benchmark Results
uses: actions/upload-artifact@v6
with:
name: benchmark_results.log
path: ./benchmark_results.log
- name: Upload GitHub Pull Request Event
uses: actions/upload-artifact@v6
with:
name: event.json
path: ${{ github.event_path }}