mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-25 13:08:50 +00:00
Add a skip-go-installation to use pre-installed Go (#144)
* update package-lock.json * Add skip-go-installation to use pre-installed Go Add the golangci-lint to PATH
This commit is contained in:
parent
89d96d6c20
commit
e4e910b0ce
7 changed files with 31 additions and 7 deletions
|
|
@ -1,4 +1,3 @@
|
|||
---
|
||||
name: "Run golangci-lint"
|
||||
description: "Official golangci-lint action with line-attached annotations for found issues, caching and parallel execution."
|
||||
author: "golangci"
|
||||
|
|
@ -21,7 +20,10 @@ inputs:
|
|||
description: "if set to true and the action runs on a pull request - the action outputs only newly found issues"
|
||||
default: false
|
||||
required: true
|
||||
|
||||
skip-go-installation:
|
||||
description: "if set to true then action uses pre-installed Go"
|
||||
default: false
|
||||
required: true
|
||||
runs:
|
||||
using: "node12"
|
||||
main: "dist/run/index.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue