60 Commits

Author SHA1 Message Date
bot-githubaction
22c3ef2608
Update known wrapper checksums 2026-03-23 10:26:38 -06:00
github-actions[bot]
092fa96ff7
Update known wrapper checksums (#881)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-03-16 16:55:58 +01:00
github-actions[bot]
5e8b335505
Update known wrapper checksums (#878)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-03-12 13:50:30 -06:00
bot-githubaction
9a834d769a
Update known wrapper checksums 2026-02-28 05:38:21 +00:00
github-actions[bot]
e66cf857e9
Update known wrapper checksums (#857)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-02-23 13:16:04 -07:00
bot-githubaction
7f124f7142
Update known wrapper checksums 2026-02-10 11:10:22 -07:00
bot-githubaction
221c7f4dbd
Update known wrapper checksums 2026-01-27 07:18:50 -07:00
github-actions[bot]
6d6beca4b5
Update known wrapper checksums (#810)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
Co-authored-by: Jérôme Prinet <jprinet@gradle.com>
2026-01-02 12:40:20 +01:00
github-actions[bot]
3ae4eec5ca
Update known wrapper checksums (#780)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
Co-authored-by: Jérôme Prinet <jprinet@gradle.com>
2025-12-17 09:47:18 +01:00
bot-githubaction
59d162a0e3
Update known wrapper checksums 2025-11-01 05:32:18 +00:00
bot-githubaction
d0dcf35cfc
Update known wrapper checksums 2025-10-25 05:31:39 +00:00
bot-githubaction
227e38c560
Update known wrapper checksums 2025-10-18 05:31:34 +00:00
bot-githubaction
06b33311c7
Update known wrapper checksums 2025-10-04 05:31:07 +00:00
bot-githubaction
6d7d019840
Update known wrapper checksums 2025-09-20 05:31:19 +00:00
Jérôme Prinet
365bbda7c3
Merge branch 'main' into jprinet/test-wrapper-validation 2025-09-18 11:38:40 +02:00
Jerome Prinet
e3a87b5ce4
Handle gracefully parse errors of checksum cache file 2025-09-18 11:33:13 +02:00
bot-githubaction
7f2ffb5b0d
Update known wrapper checksums 2025-09-13 05:30:50 +00:00
bot-githubaction
70908db112
Update known wrapper checksums 2025-09-06 05:30:54 +00:00
bot-githubaction
2edbacb0e8
Update known wrapper checksums 2025-08-16 05:32:53 +00:00
bot-githubaction
d115a7e6ee
Update known wrapper checksums 2025-08-02 05:36:09 +00:00
bot-githubaction
64bd61bfc5
Update known wrapper checksums 2025-07-19 05:34:52 +00:00
bot-githubaction
48d0f9d3ce
Update known wrapper checksums 2025-07-12 05:34:01 +00:00
bot-githubaction
f7d1903e6c
Update known wrapper checksums 2025-06-11 15:22:16 -06:00
Daz DeBoer
2ad385cb2a
Replace use of typed-rest-client with @actions/http-client (#634)
Fixes #630
2025-05-05 13:44:42 -06:00
bot-githubaction
ae166a936b
Update known wrapper checksums 2025-05-02 16:43:21 +02:00
bot-githubaction
bf36538596
Update known wrapper checksums 2025-04-27 13:01:33 -06:00
github-actions[bot]
f0d60a49af
Update known wrapper checksums (#606)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2025-04-16 10:21:23 -06:00
daz
078dac7a70
Lint: Prefix unused variables/parameters 2025-04-09 16:55:51 -06:00
github-actions[bot]
f9497366c3
Update known wrapper checksums (#590) 2025-04-03 07:44:54 -06:00
Bot Githubaction
38d700d537
Update known wrapper checksums 2025-03-25 13:52:42 -06:00
Bot Githubaction
7190318fe2 Update known wrapper checksums 2025-02-18 21:13:42 +00:00
bigdaz
b693646f93 Update known wrapper checksums 2025-01-24 11:09:05 -07:00
bigdaz
fc255bb09d Update known wrapper checksums 2024-12-20 16:34:59 -07:00
github-actions[bot]
4213e7826a
Update known wrapper checksums (#488)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bigdaz <179734+bigdaz@users.noreply.github.com>
2024-12-17 17:59:00 -07:00
Daz DeBoer
59d7e81070
Attempt to limit failures in wrapper-validation tests (#490)
- Reduce requests involved in checksums.retryTest
- Reduce requests involved in validate test
- Fetch checksum values in batches
2024-12-17 17:58:41 -07:00
bigdaz
b8ed6d0a14 Update known wrapper checksums 2024-12-13 09:03:22 -07:00
bigdaz
2894ab49ef Update known wrapper checksums 2024-11-23 05:31:40 +00:00
Daz DeBoer
83709b49fe
Fix checksum test by reducing network calls (#444)
This test was originally starting with an empty set of checksums,
leading to the download of a checksum for every released and snapshot
version. This resulted in in sporadic test failures.

We now start with a known set of checksums and ensure that those that
are missing are downloaded. This involved some refactoring and
improvement in the way snapshot checksums are processed.
2024-11-14 15:44:07 -07:00
daz
48353a25ca Do not fail wrapper-validation on filename with illegal characters 2024-11-12 11:28:09 -07:00
bigdaz
c345cfbe93
Update known wrapper checksums 2024-11-11 12:18:11 -07:00
bigdaz
2ca30c9a83 Update known wrapper checksums 2024-10-30 17:58:46 -06:00
bigdaz
7605d180a5
Update known wrapper checksums 2024-10-07 11:24:35 +10:00
bigdaz
1bc1a6c922 Update known wrapper checksums 2024-08-26 10:46:59 -06:00
bigdaz
1ac097f44e Update known wrapper checksums 2024-08-12 09:58:33 -06:00
daz
ac3aebda93
Improve error messages for min-wrapper-count
- Specific message when no wrappers are found
- Better message when wrapper count is less than configured

Fixes #284
2024-08-02 15:51:41 -06:00
daz
73f1290de7
Improve docs linked for wrapper-validation failure 2024-08-01 10:59:51 -06:00
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