Add pre-commit github action

This commit is contained in:
Matt Cengia 2024-03-09 22:57:13 +11:00
parent 44e79573c1
commit f869b32e08
Signed by: mattcen
GPG Key ID: 652968EE25069D6F
1 changed files with 14 additions and 0 deletions

14
.github/workflows/pre-commit.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1