mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-22 03:24:40 +02:00
Fix SwiftFormat's URL/glob mishandling
This commit is contained in:
+3
-1
@@ -28,7 +28,9 @@ task:
|
||||
macos_instance:
|
||||
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
||||
lint_script:
|
||||
- swift package plugin --allow-writing-to-package-directory swiftformat --cache ignore --lint --report swiftformat.json .
|
||||
# Note that we need "$(pwd)/" in "--config $(pwd)/.swiftformat"
|
||||
# to work around SwiftFormat's URL/glob mishandling
|
||||
- swift package plugin --allow-writing-to-package-directory swiftformat --config $(pwd)/.swiftformat --cache ignore --lint --report swiftformat.json .
|
||||
always:
|
||||
swiftformat_report_artifacts:
|
||||
path: swiftformat.json
|
||||
|
||||
Reference in New Issue
Block a user