Simplify conditional expressions in reading utilities #165
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' |