We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cfaabc commit c29c0c4Copy full SHA for c29c0c4
action.yml
@@ -9,6 +9,11 @@ inputs:
9
flags:
10
description: 'GolangCI command line flags'
11
required: false
12
+ directory:
13
+ description: 'Working directory'
14
+ required: false
15
+ default: ''
16
+
17
runs:
18
using: 'docker'
19
image: 'Dockerfile'
entrypoint.sh
@@ -2,5 +2,7 @@
2
3
echo 'golangci-lint-action: start'
4
5
+cd "${GITHUB_WORKSPACE}/${DIRECTORY}" || exit 1
6
7
# shellcheck disable=SC2086
8
golangci-lint run --out-format github-actions ${FLAGS}
0 commit comments