projectdiscovery / nuclei-action

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

Cache nuclei to toolcache dir. #57

Closed PittyXu closed 8 months ago

PittyXu commented 1 year ago

Use cacheFile to cache nuclei.

tibbon commented 8 months ago

This seems useful. Can this move forward?

tibbon commented 8 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 8 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.