Skip to content

add pre-commit with simple config #4

add pre-commit with simple config

add pre-commit with simple config #4

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
check:
uses: ./.github/workflows/_check.yml
lint:
needs: check
if: needs.check.outputs.branch-pr == ''
uses: ./.github/workflows/ruff.yml
# with:
# tox: pre-commit,type-checking