Skip to content

Commit bcfdcb9

Browse files
authored
Update ci-new.yml
1 parent 3397041 commit bcfdcb9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci-new.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,27 @@ jobs:
1616
- name: Checkout Repository
1717
uses: actions/checkout@v4
1818

19-
# Set up Python
20-
- name: Set up Python
19+
# Set up Python 3.11 and 3.9
20+
- name: Set up Python 3.11
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.11"
23+
python-version: 3.11
24+
- name: Set up Python 3.9
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: 3.9
2428

2529
# Install Dependencies
2630
- name: Install Dependencies
2731
run: |
2832
pip install poetry pre-commit flake8 black bandit
2933
poetry install --no-root
3034
31-
# Auto-Fix with Pre-Commit
35+
# Auto-Fix with Pre-Commit Hooks (Auto-Fix)
3236
- name: Run Pre-Commit Hooks (Auto-Fix)
3337
run: |
3438
pre-commit install
35-
pre-commit run --all-files --hook-stage manual || true
39+
pre-commit run --all-files || true
3640
3741
# Auto-Format with Black
3842
- name: Auto-Format Code with Black

0 commit comments

Comments
 (0)