Skip to content

Commit

Permalink
Do not install go if it is already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vilgelm committed Dec 29, 2020
1 parent 45f3a37 commit cab0a64
Show file tree
Hide file tree
Showing 6 changed files with 23,826 additions and 11,424 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -47,6 +47,9 @@ jobs:

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true

# Optional: if set to true then the action will use pre-installed Go
# skip-go-installation: true
```

We recommend running this action in a job separate from other jobs (`go test`, etc)
Expand Down Expand Up @@ -94,7 +97,7 @@ jobs:
You will also likely need to add the following `.gitattributes` file to ensure that line endings for windows builds are properly formatted:

```.gitattributes
*.go text eol=lf
*.go text eol=lf
```

## Comments and Annotations
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Expand Up @@ -21,6 +21,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 the action uses pre-install Go"
default: false
required: true

runs:
using: "node12"
Expand Down

0 comments on commit cab0a64

Please sign in to comment.