You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to successfully reproduce the issue. Starting from image version 20250408.1132, the SwiftLint version was upgraded to 0.59.0. I also tested this with 0.59.1, and both versions are crashing when the configuration .swiftlint.yml contains duplicate keys and SwiftLint is run from the root directory.It may be due to strict validation to catch duplicate keys in the newer versions/ may be a bug from their end.
In earlier image versions like 20250331.1080, the SwiftLint version was 0.58.2, and it handled the same duplicate key issue by just showing a warning — no crash. So this clearly shows it's a change in behavior from SwiftLint, not an issue with the runner itself.
Suggestion: If your config file has duplicate keys, try running SwiftLint from inside the subdirectory containing the config instead of from the root — this avoids the crash(for version 0.59.0) / avoid any duplicate keys in .swiftlint.yml
Description
There is a crash in Swiftlint 0.59.0, see here: realm/SwiftLint#6052
This dependency was updated in the MacOS 15 image 3 days ago, which started breaking my build.
Platforms affected
Runner images affected
Image version and build link
20250408.1132
Is it regression?
20250331.1080
Expected behavior
Swiftlint runs without crashing
Actual behavior
Swiftlint error:
Repro steps
Run swiftlint on your project
The text was updated successfully, but these errors were encountered: