Skip to content

Commit

Permalink
fix(ci): fix benchmarks in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Jun 28, 2024
1 parent 3cc2e06 commit 2dbf14c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain update nightly && rustup default nightly
- uses: dtolnay/rust-toolchain@stable
- name: Run benchmark
run: cd examples/rust && cargo +nightly bench | tee output.txt
run: cargo bench | tee output.txt

- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Rust Benchmark
tool: "cargo"
output-file-path: examples/rust/output.txt
output-file-path: output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
Expand Down

0 comments on commit 2dbf14c

Please sign in to comment.