How to reduce brew's packages installation time

step
ios
#1

I have a workflow with swiftlint and danger-swift from brew and it takes very long to be installed. Both steps are configured with Enable cache to true and Upgrade formula to false.

How can i reduce the installation time?

Times below:

| ✓ | Brew install swiftlint                                             | 1.8 min  |
+---+---------------------------------------------------------------+----------+
| ✓ | Brew install danger-swift                                     | 2.1 min  |

Edit:

Adding cache-push at the end of the workflow and cache-pull at the start no improvement was noticed

1 Like

#2

Hi @andr3a88!

Can you please paste a build URL here so we can see what’s going on in these builds? :slight_smile:

0 Likes

#3

Hi @bitce, the build is private if you have the privileges to see it, the id is ae9d56e2b7348488

0 Likes

#4

Thanks! Yes, regardless of it being private, we on support can access the logs and some metadata about the build (when was it started, how, in what environment etc.) The team will be taking a look :slight_smile:

0 Likes

closed #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes