fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.58k stars 5.71k forks source link

Deprecated `--path` argument to SwiftLint is being retired, which may break fastlane's SwiftLint action #22063

Open mildm8nnered opened 4 months ago

mildm8nnered commented 4 months ago

Issue Description

It looks like fastlane's SwiftLint action may rely on the --path argument to SwiftLint.

https://github.com/fastlane/fastlane/blob/806c80c39754034c3dfcdade6beb51bb55c7f3b1/fastlane/spec/actions_specs/swiftlint_spec.rb#L126

If so, a heads up that the --path argument has been deprecated for almost 2 years, and will be removed from SwiftLint most likely in the next release - PR at https://github.com/realm/SwiftLint/pull/5614

swiftlint /some/path is the supported alternative to swiftlint --path /some/path

aleufms commented 2 months ago

Homebrew just updated the swiftlint version to 0.56.1 which removes the --path argument. The swiftlint action is breaking now.

Kurogoma4D commented 2 months ago

This might be fixed in https://github.com/fastlane/fastlane/pull/22124, so I'm waiting for merge.