From 63324e2e4c72924ca40af252e79e7652f29867d2 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Sat, 23 Dec 2023 14:53:02 +0100 Subject: [PATCH] ci: Improve benchmark workflow --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d622c3..879aee9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,9 +69,9 @@ jobs: ref: ${{ github.event.before }} - name: Run benchmarks on previous commit - run: cargo bench - - - uses: actions/checkout@v4 + run: | + cargo bench + git checkout main - name: Run benchmarks run: cargo bench