Skip to content

Commit d669bc6

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into D3D_updates
2 parents f8a4483 + 7e81457 commit d669bc6

61 files changed

Lines changed: 1226 additions & 630 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/black.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,27 @@ jobs:
88

99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
12+
13+
- name: Get changed Python files
14+
id: changed-py-files
15+
uses: tj-actions/changed-files@v47
16+
with:
17+
files: |
18+
**.py
1219
1320
- name: Set up Python
14-
uses: actions/setup-python@v2
21+
if: steps.changed-py-files.outputs.any_changed == 'true'
22+
uses: actions/setup-python@v6
1523
with:
1624
python-version: "3.11"
1725

1826
- name: Install Black
27+
if: steps.changed-py-files.outputs.any_changed == 'true'
1928
run: |
2029
python -m pip install --upgrade pip
2130
pip install black
2231
2332
- name: Check Black Formatting
24-
run: black --check .
33+
if: steps.changed-py-files.outputs.any_changed == 'true'
34+
run: black --check ${{ steps.changed-py-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)