ravsamhq / notify-slack-action

🔔 Send a Slack Notification from Github Actions regarding failure, warnings, or even success.
https://ravsam.in/blog/send-slack-notification-when-github-actions-fails/
MIT License
173 stars 57 forks source link

Is there a way to enable caching? #47

Closed kary-ajrj closed 2 years ago

kary-ajrj commented 2 years ago
Screenshot 2022-06-08 at 17 36 55

This step (above) takes 16 seconds each time the Github Action is run. If caching is enabled then this time is likely to reduce drastically.

Example:

- uses: actions/setup-node@v3
   with:
      node-version: '16.15.1'
      cache: 'yarn'

Kindly let us know if it possible already or if it can be put in place.

ravgeetdhillon commented 2 years ago

@kary-ajrj One of the ways to reduce the build time is to rewrite the existing Python code in JavaScript. In the coming few weeks, I would be working on this issue. You can track the progress here (https://github.com/ravsamhq/notify-slack-action/issues/38).

ravgeetdhillon commented 2 years ago

@kary-ajrj To get rid of the slow build speeds of Docker, we have released v2 which is written in Typescript. See this comment for more information.