entrypoint: fix input args

This commit is contained in:
Aleksandr Razumov 2020-04-26 04:50:20 +03:00
parent d3ea46b6e2
commit 832a5f00c9
No known key found for this signature in database
GPG Key ID: 1D14A82D2E311045

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
echo 'golangci-lint-action: start' 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 # shellcheck disable=SC2086
golangci-lint run --out-format ${FORMAT} ${FLAGS} golangci-lint run --out-format ${INPUT_FORMAT} ${INPUT_FLAGS}