Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ inputs:
description: "if set to true then the action don't cache or restore ~/.cache/go-build."
default: false
required: true
failure-level:
description: "lowest issue severity to continue failing on (if golangci-lint exits with exit code 1), defaults to 'notice', may be: 'notice' | 'warning' | 'failure'"
default: "notice"
required: false
runs:
using: "node12"
pre: "dist/pre/index.js"
main: "dist/run/index.js"
post: "dist/post_run/index.js"
branding:
Expand Down
17 changes: 17 additions & 0 deletions dist/matchers-golangci-lint-action.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "golangci-lint-action",
"pattern": [
{
"regexp": "^\\s*(\\.{0,2}[\\/\\\\].+\\.go):(?:(\\d+):(\\d+):)? (.*)",
"severity": 1,
"file": 2,
"line": 3,
"column": 4,
"message": 5
}
]
}
]
}
3,624 changes: 2,700 additions & 924 deletions dist/post_run/index.js

Large diffs are not rendered by default.

Loading