From 832a5f00c93ea05fee5b9d0e5ebaa9d0a8687799 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Sun, 26 Apr 2020 04:50:20 +0300 Subject: [PATCH] entrypoint: fix input args --- entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1ceda4b..ad37aab 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,8 +1,10 @@ #!/bin/bash echo 'golangci-lint-action: start' +echo " flags: ${INPUT_FLAGS}" +echo " format: ${INPUT_FORMAT}" -cd "${GITHUB_WORKSPACE}/${DIRECTORY}" || exit 1 +cd "${GITHUB_WORKSPACE}/${INPUT_DIRECTORY}" || exit 1 # shellcheck disable=SC2086 -golangci-lint run --out-format ${FORMAT} ${FLAGS} +golangci-lint run --out-format ${INPUT_FORMAT} ${INPUT_FLAGS}