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