Skip to content

Simplify conditional expressions in reading utilities #166

Simplify conditional expressions in reading utilities

Simplify conditional expressions in reading utilities #166

Workflow file for this run

name: CodSpeed
on:
workflow_call:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup toolchains
uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3.4.0
- name: Setup Socket Firewall
uses: SocketDev/action@4337a545deecc20f19a909e52db7a2f6ba292f42 # v1.2.0
with:
mode: firewall
- name: Install Dependencies
run: sfw pnpm install
- name: Run Benchmarks
uses: CodSpeedHQ/action@6a8e2b874c338bf81cc5e8be715ada75908d3871 # v4.3.4
with:
run: pnpm vitest bench
mode: 'instrumentation'