Skip to content

Commit cdbfbc7

Browse files
committed
CI: Add job to check formatting
1 parent 1ba4835 commit cdbfbc7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/code_checks.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Code Checks
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
pull_request:
8+
paths-ignore:
9+
- 'doc/**'
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
16+
pre-commit-checks:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-python@v4
21+
- uses: pre-commit/action@v3.0.0

0 commit comments

Comments
 (0)