forked from golangci/golangci-lint-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (31 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: "Run golangci-lint multi module mono repo"
description: "Patch for golangci-lint action with line-attached annotations for found issues, caching and parallel execution."
author: "Guy Arbitman"
inputs:
version:
description: "version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version"
required: false
args:
description: "golangci-lint command line arguments"
default: ""
required: false
cache-key:
description: "Base name of the cache to use"
default: "golangci-lint-cache"
required: false
github-token:
description: "the token is used for fetching patch of a pull request to show only new issues"
default: ${{ github.token }}
required: true
only-new-issues:
description: "if set to true and the action runs on a pull request - the action outputs only newly found issues"
default: false
required: true
runs:
using: "node12"
main: "dist/run/index.js"
post: "dist/post_run/index.js"
branding:
icon: "shield"
color: "yellow"