File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
with :
13
13
github_token : ${{ secrets.github_token }}
14
14
directory : sample
15
+ format : colored-line-number
15
16
flags : --issues-exit-code 0
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ inputs:
13
13
description : ' Working directory'
14
14
required : false
15
15
default : ' '
16
+ format :
17
+ description : ' Output format of issues'
18
+ default : ' github-actions'
19
+ required : false
20
+
16
21
17
22
runs :
18
23
using : ' docker'
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ echo 'golangci-lint-action: start'
5
5
cd " ${GITHUB_WORKSPACE} /${DIRECTORY} " || exit 1
6
6
7
7
# shellcheck disable=SC2086
8
- golangci-lint run --out-format github-actions ${FLAGS}
8
+ golangci-lint run --out-format ${FORMAT} ${FLAGS}
You can’t perform that action at this time.
0 commit comments