add format
This commit is contained in:
parent
542ddbcf10
commit
d3ea46b6e2
1
.github/workflows/golangci.yml
vendored
1
.github/workflows/golangci.yml
vendored
@ -12,4 +12,5 @@ jobs:
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
directory: sample
|
||||
format: colored-line-number
|
||||
flags: --issues-exit-code 0
|
||||
|
@ -13,6 +13,11 @@ inputs:
|
||||
description: 'Working directory'
|
||||
required: false
|
||||
default: ''
|
||||
format:
|
||||
description: 'Output format of issues'
|
||||
default: 'github-actions'
|
||||
required: false
|
||||
|
||||
|
||||
runs:
|
||||
using: 'docker'
|
||||
|
@ -5,4 +5,4 @@ echo 'golangci-lint-action: start'
|
||||
cd "${GITHUB_WORKSPACE}/${DIRECTORY}" || exit 1
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
golangci-lint run --out-format github-actions ${FLAGS}
|
||||
golangci-lint run --out-format ${FORMAT} ${FLAGS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user