Commit Graph
64 Commits
Author SHA1 Message Date
daz b6395da67c Cache validated checksums for later executions
The most common case for validation will be that the wrapper jars are unchanged
from a previous workflow run. In this case, we cache the validated wrapper
checksums to minimise the work required on a subsequent run.

Fixes #172
2024-08-01 10:52:36 -06:00
daz ce4c3a6c5e Move wrapper-validation into common setup code 2024-08-01 10:52:36 -06:00
daz b644be617f Enable wrapper validation by default
- Add 'allow-snapshot-wrappers' input parameter
- Default 'validate-wrappers' to 'true'

Fixes #12
2024-08-01 10:51:02 -06:00
daz 7179909719 Verify wrappers for distribution-snapshots
By slurping the checksum URLs from https://services.gradle.org/distributions-snapshots/
we can include these unpublished wrapper checksums in validation.

Fixes #281
2024-07-31 21:26:55 -06:00
daz 72dde7ef1e Move action entry-point sources 2024-07-18 11:09:54 -06:00
Daz DeBoerandGitHub dff3ef9b8d Only fetch checksums for unknown wrapper versions (#292)
The checksum values for most wrapper versions are hard-coded into the
action. These known checksum values are first used for validation: only
if none of the known values work do we download checksums.

Previously, we blindly downloaded all of the checksum values in this
case: we now only download the checksums for versions that are not in
our "known" set.

Fixes #171
2024-07-16 13:04:57 -06:00
6407986e96 Update known wrapper checksums (#278)
Automatically generated pull request to update the known wrapper
checksums.

Co-authored-by: bigdaz <[email protected]>
2024-07-12 11:29:43 -06:00
bigdazandDaz DeBoer 3f3913eed0 Update known wrapper checksums 2024-06-27 14:11:23 -06:00
bigdazandDaz DeBoer d1cd62d80a Update known wrapper checksums 2024-06-13 07:40:03 -06:00
bigdazandDaz DeBoer da512b52a5 Update known wrapper checksums 2024-04-28 15:49:59 +01:00
daz 6d55902761 Deprecate 'wrapper-validation-action'
Deprecation warning will be emitted when we:
- Change 'wrapper-validation-action' to delegate to 'actions/wrapper-validation'
- Add the 'wrapper-validation-action' id as env var before delegating
2024-04-12 10:34:50 -06:00
daz ea328a863d Update documentation link 2024-04-11 10:23:52 -06:00
daz ba79f71e36 Consolidate error processing in actions 2024-04-11 10:19:53 -06:00
daz f1476a710d Initial import of wrapper-validation-action 2024-04-10 21:17:49 -06:00