Skip to content

Commit c74a8b5

Browse files
chore(ci): Add pre-commit configuration and CI workflow (#134)
* Add pre-commit configuration and CI workflow Signed-off-by: Aniket Patil <[email protected]> * chore(ci): move pre-commit job into test-python workflow Signed-off-by: Aniket Patil <[email protected]> --------- Signed-off-by: Aniket Patil <[email protected]>
1 parent fee0f12 commit c74a8b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-python.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13+
pre-commit:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
- uses: pre-commit/[email protected]
19+
1320
test:
1421
runs-on: ubuntu-latest
22+
needs: pre-commit
1523
strategy:
1624
fail-fast: false
1725
matrix:

0 commit comments

Comments
 (0)