Use pre-commit/action

This commit is contained in:
Louis Royer 2024-09-20 14:56:44 +02:00
parent 4bd8313073
commit 430c93c63c
No known key found for this signature in database
GPG Key ID: DCDDAB6B0DB85D88

15
.github/workflows/pre-commit.yml vendored Normal file

@ -0,0 +1,15 @@
name: pre-commit
on:
pull_request:
push:
branches: [master]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y luarocks
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1