Skip to content

Commit

Permalink
add precomit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanchobanano committed Nov 28, 2023
1 parent 2f15824 commit 41b6c6f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pre-commit

on:
push:
branches:
- main

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

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

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

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

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

0 comments on commit 41b6c6f

Please sign in to comment.