Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating to json data handeling #209

Closed
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions action.yml
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
@@ -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.