Commit graph

15 commits

Author SHA1 Message Date
Marcono1234
bb2ea9bd17
Hardcode known wrapper checksums to avoid network requests 2024-02-01 10:26:28 -07:00
Daz DeBoer
5d6ea91421
Extend timeout for Jest tests 2022-10-24 10:16:09 -06:00
Kengo TODA
5e787a2abc test: bump up Jest to v27 introducing new defaults
https://jestjs.io/blog/2021/05/25/jest-27
2021-07-20 20:48:16 +08:00
paul
d48df5be4b Upgrade dependencies
and deal with the fallouts

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-09-22 18:02:50 +02:00
Jonathan Leitschuh
9f4cacc32b
Merge branch 'master' into feat/JLL/homoglyph_detector
* master:
  Add :
  Build
  Rework output
  Let finding wrapper jars be predictable
  Ignore IDEA files
2020-01-15 11:59:08 -05:00
Jonathan Leitschuh
ae0da6528c
Add a homoglyph detector for gradle-wrapper.jar files 2020-01-13 13:00:16 -05:00
Paul Merlin
6c65025c7d Add :
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-13 10:29:20 +01:00
Paul Merlin
33646cf935 Rework output
Always display all known and unknown found wrapper jars
alongside their checksum.

The display string building was pushed down from the Github Action main
function, so it's easier to reuse and test it.

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-11 15:35:09 +01:00
Paul Merlin
7c1b6a0c36 Refine min-wrapper-count error message
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-10 17:59:23 +01:00
Paul Merlin
9393a6ed98 Introduce min-wrapper-count input
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-10 17:54:22 +01:00
Paul Merlin
89c35dd18b Better reporting of invalid wrapper jars
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 13:50:19 +01:00
Paul Merlin
73443bf726 Add input to allow arbitrary checksums
In order for the action integration test to pass on CI
And it's a feature

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 13:36:28 +01:00
Paul Merlin
94a3288680 Properly close file read stream
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 11:56:42 +01:00
Paul Merlin
9e2c9e95db Make TypeScript linter happy
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 11:37:12 +01:00
Paul Merlin
e1189600d2 First cut
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-05 14:03:40 +01:00