Brew install cannot update swiftlint

Hi, we are using brew-install step to install swiftlint during a workflow. We can’t figure out how to update the swiftlint package, we are stuck at version 0.43.1. The flag “Upgrade formula” is set to YES. It is correct?

We tried to remove cache pull/push steps, change build stack (upgrade Xcode stack) but nothing changed.

Are there any other ways to force the update?

1 Like

I tried installing swiftlint with a custom bash script.

The result is the same using the brew-install step. The package is not udpated.

1 Like

Greetings,

I am sorry to hear that you have experienced issues with updating the swiftlint package on your custom script. Transparently custom script steps are always a little hard to troubleshoot and limits the amount of help available because of their custom nature however, analyzing the issue it seems like the main challenge is that the brew install command seems to get us an old version of the swiftlint package. I found an additional command you can run after your install script that may help update the package, try using $ brew upgrade swiftlint command as a follow up step to your brew install command.

Should additional help be required we may need you to share the content of your script to analyze more in depth, you could always receive additional support by submitting a ticket here

Best regards,

Lex