-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Swiftlint from Dockerfile #268
Conversation
@orta do you have an opinion about this? |
I saw that there is an option to have inputs on Actions, we could explore this later to re add in an optional way |
Yeah, that's what I was going to recommend (using the input to determine it) I feel like lots of people would use it with SwiftLint - maybe we could have two dockerfiles? |
0915e4b
to
c87b14c
Compare
Ok, I've done few tests, and looks like the env variables are set after the build, then it can not work unless I put it on the |
7c27450
to
4f4db24
Compare
It'd need to be a special branch or tag per release with a different dockerfile. Totally scriptable on a release. |
Amazing idea! Let's merge this then I will create something with Rocket. |
@f-meloni Do you have any tips on how to install swiftlint on the docker image now that it is removed? |
@litso there are few ways of doing it, the main ones I can think:
|
Danger-Swift takes quite a lot when runs on GitHub Actions
Approximately more than half of that time it to clone swiftlint, that not everyone uses, and someone uses from SPM.