Skip to content

Commit

Permalink
Use pre-commit via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
loopj committed Apr 9, 2024
1 parent c5b6bcd commit fa637ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
- uses: pre-commit-ci/lite-action@v1.0.2
if: always()

0 comments on commit fa637ab

Please sign in to comment.