Skip to content

Adding pre-commit workflow to Github actions #1

Adding pre-commit workflow to Github actions

Adding pre-commit workflow to Github actions #1

name: Run pre-commit workflow
on:
pull_request:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
name: Install Python 3.10
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -U pip setuptools
- uses: pre-commit/[email protected]
name: Configure and run pre-commit