diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 69ad2db2e..19be7da09 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -118,12 +118,14 @@ jobs: with: toolchain: nightly-2025-01-02 - name: Run benchmark - run: ./scripts/bench.sh > bencher | tee output.txt + run: ./scripts/bench.sh | tee output.txt + - name: Download previous benchmark data uses: actions/cache@v4 with: path: ./cache key: ${{ runner.os }}-${{github.event.pull_request.base.ref}}-benchmark + - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 with: @@ -144,7 +146,7 @@ jobs: with: toolchain: nightly-2025-01-02 - name: Run benchmark - run: ./scripts/bench.sh --features="parallel" > bencher | tee output.txt + run: ./scripts/bench.sh --features="parallel" | tee output.txt - name: Download previous benchmark data uses: actions/cache@v4 with: