diff --git a/action.yml b/action.yml index c6dce8c..cf071f1 100644 --- a/action.yml +++ b/action.yml @@ -13,14 +13,14 @@ runs: run: | status=0 for dir in $(find . \( -name vendor -o -name '[._].*' -o -name node_modules \) -prune -o -name go.mod -print | sed 's:/go.mod$::'); do - echo "#=#=#=# $dir #=#=#=#" pushd $dir > /dev/null + echo "::group::$dir" ( ${{ inputs.run }} ) + echo "::endgroup::" s=$? if [[ $s != 0 ]]; then status=$s; fi popd > /dev/null - echo -e "\n\n" done exit $status