Skip to content

Commit

Permalink
ci: Fix benchmark in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Dec 23, 2023
1 parent e7b9531 commit 4761c49
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,12 @@ jobs:
name: 鈴憋笍 Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
rustup update
rustup toolchain install nightly
rustup default nightly
rustup component add clippy rustfmt
- name: Run benchmarks
run: cargo bench

- name: Checkout previous commit
uses: actions/checkout@v4
with:
Expand All @@ -75,7 +71,12 @@ jobs:
- name: Run benchmarks on previous commit
run: cargo bench

- name: Save benchmark result of previous commit
- uses: actions/checkout@v4

- name: Run benchmarks
run: cargo bench

- name: Upload benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark
Expand Down

0 comments on commit 4761c49

Please sign in to comment.