mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
Testing, formatting - Fix issue with file limits (#810)
- Updated the clang-format-check action to process files individually for license validation
This commit is contained in:
@@ -52,10 +52,8 @@ runs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
$files = Get-Content "changed_files.txt" | Where-Object { Test-Path $_ }
|
||||
if ($files.Count -gt 0) {
|
||||
# Pass files as individual arguments
|
||||
$files = @($files)
|
||||
& python3 .github/actions/scripts/validate-license.py --files @files --fix
|
||||
$files | ForEach-Object {
|
||||
python3 .github/actions/scripts/validate-license.py --files "$_" --fix
|
||||
}
|
||||
|
||||
- name: Check formatting
|
||||
|
||||
Reference in New Issue
Block a user