Closed Cyberbeni closed 3 years ago
xcodebuild will run SwiftLint during the build process, I believe it is redundant to run a dedicated workflow for lint. Please correct me if I am wrong.
https://github.com/OpenIntelWireless/HeliPort/blob/059e3113649e42a85e2204b44ce2f3e0f7a742a5/.github/workflows/main.yml#L5 https://github.com/OpenIntelWireless/HeliPort/blob/059e3113649e42a85e2204b44ce2f3e0f7a742a5/.github/workflows/main.yml#L39 https://github.com/OpenIntelWireless/HeliPort/blob/059e3113649e42a85e2204b44ce2f3e0f7a742a5/HeliPort.xcodeproj/project.pbxproj#L401
Those don't show up in the GH Workflow logs. There are currently 28 SwiftLint violations which have been getting ignored.
You could just delete the SwiftLint build phase and swiftlint.yml if you just want to ignore it.
Push on master trigger is required because of caching security restrictions, other branches can use the cache from the default branch but not from each other.