build(deps): Bump actions/checkout from 4.2.1 to 4.2.2 #76
This file contains 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: Benchmarks | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
benchmarks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/setup-python@v5 | |
with: | |
# Python 3.12 for flamegraph support | |
python-version: "3.12" | |
- name: Install dependencies | |
run: pip install ".[bench]" | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: pytest benches/*.py --codspeed |