Skip to content

chore: Use python-specific tag for releasing Python bindings (#100) #11

chore: Use python-specific tag for releasing Python bindings (#100)

chore: Use python-specific tag for releasing Python bindings (#100) #11

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