From 6774466b2458093771d5500dc51738602156d1d5 Mon Sep 17 00:00:00 2001 From: ivvist Date: Sun, 17 Nov 2024 19:50:52 +0100 Subject: [PATCH] add cache go mod files --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 0e5b88a..fa504f8 100644 --- a/index.js +++ b/index.js @@ -134,7 +134,9 @@ async function run() { } if (!stoptest){ await execute(tststr) - } + } else { + await execute('go mod tidy') + } } if (testfolder.length != 0) { await execute('cd .')