mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 22:11:15 +00:00
10 lines
257 B
Bash
Executable file
10 lines
257 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo 'golangci-lint-action: start'
|
|
echo " flags: ${INPUT_FLAGS}"
|
|
echo " format: ${INPUT_FORMAT}"
|
|
|
|
cd "${GITHUB_WORKSPACE}/${INPUT_DIRECTORY}" || exit 1
|
|
|
|
# shellcheck disable=SC2086
|
|
golangci-lint run --out-format ${INPUT_FORMAT} ${INPUT_FLAGS}
|