Skip to content

Update actions/cache action to v4 - autoclosed #21

Update actions/cache action to v4 - autoclosed

Update actions/cache action to v4 - autoclosed #21

Workflow file for this run

name: bench
on:
pull_request:
jobs:
build:
name: Benchmark on linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- run: rustup target add x86_64-unknown-linux-gnu
- name: Cache
uses: Swatinem/rust-cache@v2
with:
shared-key: release-x86_64-unknown-linux-gnu
- id: cache-target
name: Cache CI Benchmarks
uses: actions/cache@v4
with:
key: ${{ runner.os }}-${{ github.ref }}
path: |
./target/criterion
- name: Criterion Compare PRs
uses: boa-dev/criterion-compare-action@adfd3a94634fe2041ce5613eb7df09d247555b87
with:
branchName: ${{ github.base_ref }}