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:
|
with:
|
||||||
github_token: ${{ secrets.github_token }}
|
github_token: ${{ secrets.github_token }}
|
||||||
directory: sample
|
directory: sample
|
||||||
|
format: colored-line-number
|
||||||
flags: --issues-exit-code 0
|
flags: --issues-exit-code 0
|
||||||
|
@ -13,6 +13,11 @@ inputs:
|
|||||||
description: 'Working directory'
|
description: 'Working directory'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
format:
|
||||||
|
description: 'Output format of issues'
|
||||||
|
default: 'github-actions'
|
||||||
|
required: false
|
||||||
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
|
@ -5,4 +5,4 @@ echo 'golangci-lint-action: start'
|
|||||||
cd "${GITHUB_WORKSPACE}/${DIRECTORY}" || exit 1
|
cd "${GITHUB_WORKSPACE}/${DIRECTORY}" || exit 1
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# 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