mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
Use a unique cache entry for wrapper-validation test (#921)
This is necessary to avoid loading a cache entry from a different test, where the allowed wrapper checksums might have been cached, causing the wrapper validation to unexpectedly succeed.
This commit is contained in:
@@ -36,5 +36,6 @@ export async function validateWrappers(
|
||||
)
|
||||
}
|
||||
|
||||
// TODO: Should not be caching the ALLOWED_GRADLE_WRAPPER_CHECKSUMS as they should only apply to the present run
|
||||
checksumCache.save(result.valid.map(wrapper => wrapper.checksum))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user