From 2dbf14c34bed2ee40ab79c0a46d011cd20882bda Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Fri, 28 Jun 2024 15:19:53 +0200 Subject: [PATCH] fix(ci): fix benchmarks in ci --- .github/workflows/bench.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 2f819091..814f335f 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -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