Skip to content

Commit

Permalink
entrypoint: fix input args
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Apr 26, 2020
1 parent d3ea46b commit 832a5f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 832a5f0

Please sign in to comment.