Closed TWiStErRob closed 1 year ago
fixes #24
Testing: https://github.com/detekt/sarif4k/actions/runs/4242662085
Luckily ubuntu job ran first, fully to completion: https://github.com/detekt/sarif4k/actions/runs/4242662085/jobs/7374450595 we can see here that the cache was stored
Then the mac job ran: https://github.com/detekt/sarif4k/actions/runs/4242662085/jobs/7374450387 and picked up the stored cache
This should mean that the download won't be flaky, most of the files will exist so there's less to download from NVD.
This also decreased the dependency check runtime from 4.5 minutes to 22 seconds.
fixes #24
Testing: https://github.com/detekt/sarif4k/actions/runs/4242662085
Luckily ubuntu job ran first, fully to completion: https://github.com/detekt/sarif4k/actions/runs/4242662085/jobs/7374450595 we can see here that the cache was stored![image](https://user-images.githubusercontent.com/2906988/220620351-5f252174-ba68-41e6-bab8-9e3d302b7527.png)
Then the mac job ran: https://github.com/detekt/sarif4k/actions/runs/4242662085/jobs/7374450387 and picked up the stored cache![image](https://user-images.githubusercontent.com/2906988/220620872-858d536c-5502-4edd-9189-94909a51f9f3.png)
This should mean that the download won't be flaky, most of the files will exist so there's less to download from NVD.
This also decreased the dependency check runtime from 4.5 minutes to 22 seconds.