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
Currently, we always pull the latest docker image for SwiftLint. This might cause unwanted breaking changes, as the Docker image is based on the latest changes in the main branch.
We choose this way originally to not have an action that you always have to manually upgrade, even for minor versions, but that automatically updates to the latest release of SwiftLint. This becomes a problem though with the latest tag if the "latest version" isn't even available and you fail to locally reproduce the issue.
Solution
Use a tagged image as available on GitHub: https://github.com/realm/SwiftLint/pkgs/container/swiftlint.
Ideally, we can automatically determine the latest tag. At the same time we could aim for customizability to set a certain major or minor version limit or even force a specific SwiftLint version.
Additional context
SwiftLint is using semantic versioning. They also publish prerelease version tagged like 0.51.0-rc.2. It would make sense to employ a library like semver to allow for flawless computation of version labels.
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
Problem
Currently, we always pull the latest docker image for SwiftLint. This might cause unwanted breaking changes, as the Docker image is based on the latest changes in the
main
branch.We choose this way originally to not have an action that you always have to manually upgrade, even for minor versions, but that automatically updates to the latest release of SwiftLint. This becomes a problem though with the
latest
tag if the "latest version" isn't even available and you fail to locally reproduce the issue.Solution
Use a tagged image as available on GitHub: https://github.com/realm/SwiftLint/pkgs/container/swiftlint.
Ideally, we can automatically determine the latest tag. At the same time we could aim for customizability to set a certain major or minor version limit or even force a specific SwiftLint version.
Additional context
SwiftLint is using semantic versioning. They also publish prerelease version tagged like
0.51.0-rc.2
. It would make sense to employ a library like semver to allow for flawless computation of version labels.Code of Conduct
The text was updated successfully, but these errors were encountered: