fastlane icon indicating copy to clipboard operation
fastlane copied to clipboard

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

Open mildm8nnered opened this issue 1 year ago • 3 comments

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

mildm8nnered avatar Jun 03 '24 22:06 mildm8nnered

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

aleufms avatar Aug 19 '24 20:08 aleufms

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

Kurogoma4D avatar Aug 21 '24 05:08 Kurogoma4D