Skip to content

Commit

Permalink
chore: add pre-commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
david20571015 committed Dec 28, 2023
1 parent c893100 commit d31797b
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 @@
on:
pull_request:
branches:
- main

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- uses: pre-commit/action@v3
- uses: pre-commit-ci/lite-action@v1
if: always()

0 comments on commit d31797b

Please sign in to comment.