Skip to content

chore: Add benchmarks setup #20

chore: Add benchmarks setup

chore: Add benchmarks setup #20

Workflow file for this run

name: Dev
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
pre-commit:
name: "pre-commit"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v4
- name: pre-commit (cache)
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: pre-commit (--all-files)
run: |
python -m pip install pre-commit
pre-commit run --show-diff-on-failure --color=always --all-files