Skip to content

Commit

Permalink
ci: Run pre-commit --all-files on ci to lint project
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Dec 13, 2023
1 parent 2de9251 commit 73d8068
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run pre-commit

on:
- pull_request
- push
- workflow_dispatch

jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: 3.11
- uses: pre-commit/action@v3.0.0

0 comments on commit 73d8068

Please sign in to comment.