Skip to content

Bump dawidd6/action-download-artifact from 2 to 6 in /.github/workflows #1759

Bump dawidd6/action-download-artifact from 2 to 6 in /.github/workflows

Bump dawidd6/action-download-artifact from 2 to 6 in /.github/workflows #1759

Workflow file for this run

name: Benchmark
on: [pull_request]
jobs:
bench:
name: Bench
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Checkout repository base
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
- name: Run cargo bench on base
run: cargo bench --bench reactivity --bench ssr
- name: Checkout repository head
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
clean: false # Do not remove benchmark results from base branch
- name: Run cargo bench on head
run: cargo bench --bench reactivity --bench ssr
- name: Upload benchmark report
uses: actions/upload-artifact@v3
with:
name: Benchmark report
path: target/criterion/