Skip to content

Commit 5781f15

Browse files
committed
ci: add pre-commit check
1 parent a932438 commit 5781f15

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/code-checks.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Code Checks
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ['main', 'dev-*']
7+
pull_request:
8+
release:
9+
types: [published]
10+
11+
jobs:
12+
pre-commit:
13+
name: "Run pre-commit"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-python@v2
18+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)