-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support latest tag for golangci-lint version (#64)
- Loading branch information
Sergey Vilgelm
authored
Aug 2, 2020
1 parent
b026646
commit 809d3b0
Showing
5 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
--- | ||
name: 'Run golangci-lint' | ||
description: 'Official golangci-lint action with line-attached annotations for found issues, caching and parallel execution.' | ||
author: 'golangci' | ||
name: "Run golangci-lint" | ||
description: "Official golangci-lint action with line-attached annotations for found issues, caching and parallel execution." | ||
author: "golangci" | ||
inputs: | ||
version: | ||
description: 'version of golangci-lint to use in form of v1.2' | ||
required: true | ||
description: "version of golangci-lint to use in form of v1.2 or `latest` to use the latest version" | ||
required: false | ||
args: | ||
description: 'golangci-lint command line arguments' | ||
default: '' | ||
description: "golangci-lint command line arguments" | ||
default: "" | ||
required: false | ||
working-directory: | ||
description: 'golangci-lint working directory, default is project root' | ||
description: "golangci-lint working directory, default is project root" | ||
required: false | ||
github-token: | ||
description: 'the token is used for fetching patch of a pull request to show only new issues' | ||
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' | ||
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' | ||
using: "node12" | ||
main: "dist/run/index.js" | ||
post: "dist/post_run/index.js" | ||
branding: | ||
icon: 'shield' | ||
color: 'yellow' | ||
icon: "shield" | ||
color: "yellow" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters