mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 14:01:14 +00:00
entrypoint: fix input args
This commit is contained in:
parent
d3ea46b6e2
commit
832a5f00c9
1 changed files with 4 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue