Skip to content

Commit

Permalink
[GH-Action] Add pre-commit checks
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT authored and zerothi committed Feb 19, 2024
1 parent 067585a commit b84f573
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test
run-name: Run tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:

jobs:
pre-commit:
name: Check pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]

0 comments on commit b84f573

Please sign in to comment.