Commit Graph

21 Commits

Author SHA1 Message Date
CrazyMax
eb838bda3a
jest: rename fixtures folder
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-31 11:04:17 +02:00
CrazyMax
491039b9e3
util: isPathRelativeTo func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-30 15:52:53 +02:00
CrazyMax
b56d9771d7
util: countLines func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-20 16:21:15 +02:00
CrazyMax
e26a82d0aa
util: stringToUnicodeEntities func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-18 11:21:06 +02:00
CrazyMax
953dc3bb00
jest: mocks already cleared through configuration
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-18 11:07:29 +02:00
Chris Campbell
82d10009f7 Add a test to define behavior when empty parameters are passed
Signed-off-by: Chris Campbell <chris.campbell@dutchie.com>
2024-06-11 15:31:15 -06:00
CrazyMax
62e3923775
util: generateRandomString func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-26 13:54:52 +02:00
CrazyMax
7621606be3
util: formatFileSize
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-23 15:33:51 +02:00
CrazyMax
545f7cd6ea
buildx: hasAttestationType and resolveAttestationAttrs funcs
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-26 16:23:12 +01:00
CrazyMax
63adf44466
test: keep quotes around fields
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-06 15:00:15 +01:00
CrazyMax
0a1d2c2307
cache class for tool caching with gha
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-04 18:10:00 +01:00
CrazyMax
70c0e12f74
util: trimPrefix and trimSuffix methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:15:15 +02:00
CrazyMax
9450a454a7
util: comment opt for getInputList
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 14:11:57 +02:00
CrazyMax
7fb0476dc8
util: isValidRef method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 16:01:24 +01:00
CrazyMax
9b9ff70b75
util: fix isValidURL
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 16:01:10 +01:00
CrazyMax
f288f4f7ea
util: handle quote opt with the same api for input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-18 01:53:59 +01:00
CrazyMax
44b1545abd
util: opt to escape quotes for input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-18 01:02:56 +01:00
CrazyMax
00f55b8385
chore: set license headers
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-31 03:34:59 +01:00
CrazyMax
66653922b3
test: clear mocks
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-24 00:50:22 +01:00
CrazyMax
aae4a2d7bc
Some improvements
- Use classes
- Split buildx/builder modules
- Additional tests

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-23 10:07:14 +01:00
CrazyMax
70326fd842
initial implementation
carries most of the logic used across our actions

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-17 12:07:05 +01:00