projectdiscovery / nuclei-action

Vulnerability Scan with Nuclei
https://projectdiscovery.io/nuclei
MIT License
239 stars 69 forks source link

Cache nuclei to toolcache dir. #57

Closed PittyXu closed 6 months ago

PittyXu commented 1 year ago

Use cacheFile to cache nuclei.

tibbon commented 6 months ago

This seems useful. Can this move forward?

tibbon commented 6 months ago

Docs on this here: https://github.com/actions/toolkit/tree/main/packages/tool-cache#cache

This would allow us not only to check to cache, but save files to the cache, and skip needing to redownload/reinstall Nuclei every single time we run actions.

tibbon commented 6 months ago

Thank you so much! This is going to help our test speed significantly, as we run many stages of Nuclei tests internally and they each call the action.