Commit graph

28 commits

Author SHA1 Message Date
bigdaz
c4ee1cd97a Update known wrapper checksums 2024-02-07 04:57:13 +01:00
daz
24d65a10ac
Merge branch 'releases/v2'
* releases/v2:
  Check dist on release branches
  Log multiple errors
2024-02-06 08:25:02 -07:00
Łukasz Jernaś
21bea8c867
Log multiple errors
# What
Log AggregateError type, when multiple errors are returned
from HTTP client - fixes #174

# Why
We would silently fail otherwise as error.message was empty
for the AggregatedError exception.
2024-02-06 08:18:58 -07:00
Marcono1234
bb2ea9bd17
Hardcode known wrapper checksums to avoid network requests 2024-02-01 10:26:28 -07:00
jorgectf
56b90f209b Export failed wrapper(s) path to GITHUB_OUTPUT 2023-07-21 21:14:57 +02:00
Kengo TODA
094d8354f0 fix: bump up nodejs to v16 2021-12-22 06:35:31 +08:00
Kengo TODA
aeee4bda64 fix: introduce retry to stabilize the workflow 2021-05-14 17:16:58 +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
Sebastian Schuberth
12970df4d0 checksums: Remove some superfluous type declarations
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
2020-05-27 21:14:29 +02:00
Paul Merlin
94ba8eeec3 Remove now unneeded typescript definitions for unhomoglyph
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-04-07 15:47:11 +02:00
Paul Merlin
8cb3a6f68d Let failure message link to how to report validation errors
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-16 10:08:53 +01:00
Jonathan Leitschuh
f783f98dff Simple housekeeping improvements 2020-01-16 10:03:19 +01: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
e4429f250f
Replace homoglyphs.ts with unhomoglyph library 2020-01-15 11:41:11 -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
4432e91432 Let finding wrapper jars be predictable
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-11 15:33:16 +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
e0653151c5 Walk the dir tree instead of the git tree
In order to support shallow checkouts, because nodegit doesn't play well on CI

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 13:24:48 +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
9ecb02f313 Fix git commit selection
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-05 14:14:45 +01:00
Paul Merlin
e1189600d2 First cut
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-05 14:03:40 +01:00
Paul Merlin
0fa564f462 Initial commit 2020-01-05 12:04:24 +01:00