Skip to content

Commit

Permalink
run pre-commit on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Nov 8, 2023
1 parent 9b09592 commit 1895a94
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: pre-commit

on:
workflow_dispatch:
push:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Run pre-commit
uses: pre-commit/[email protected]

0 comments on commit 1895a94

Please sign in to comment.