Skip to content

Commit

Permalink
Create pre-commit hooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nhesusrz authored Sep 7, 2024
1 parent eddff47 commit e342aa8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pre-commit hooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Pre-commit Hooks

on: [push, pull_request]

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install pre-commit
run: pip install pre-commit

- name: Run pre-commit hooks
run: pre-commit run --all-files

0 comments on commit e342aa8

Please sign in to comment.