Skip to content

Commit 4a57304

Browse files
committed
Update changes
1 parent d3d77e8 commit 4a57304

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci-checks.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
branches:
10+
- "*" # Run on all branches
11+
12+
env:
13+
MIN_PYTHON_VERSION: 3.11
14+
15+
jobs:
16+
job-pre-commit-check:
17+
name: Pre-Commit Check
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v3
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: ${{ env.MIN_PYTHON_VERSION }}
28+
29+
- name: Install dependencies
30+
run: pip install -r requirements-dev.txt
31+
32+
- name: Run pre-commit
33+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)