Skip to content

Commit

Permalink
Update CI workflow to run benchmarks on pull requests and enhance cac…
Browse files Browse the repository at this point in the history
…hing
  • Loading branch information
seemenkina committed Jan 17, 2025
1 parent 990fc07 commit 32c042c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
working-directory: tests

benches:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout sources
uses: actions/checkout@v3
- name: cargo bench
run: |
cargo bench
- uses: Swatinem/rust-cache@v2
- uses: boa-dev/criterion-compare-action@v3

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 32c042c

Please sign in to comment.