Skip to content

Commit cab0a64

Browse files
author
Sergey Vilgelm
committed
Do not install go if it is already installed
1 parent 45f3a37 commit cab0a64

File tree

6 files changed

+23826
-11424
lines changed

6 files changed

+23826
-11424
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747

4848
# Optional: show only new issues if it's a pull request. The default value is `false`.
4949
# only-new-issues: true
50+
51+
# Optional: if set to true then the action will use pre-installed Go
52+
# skip-go-installation: true
5053
```
5154

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

9699
```.gitattributes
97-
*.go text eol=lf
100+
*.go text eol=lf
98101
```
99102

100103
## Comments and Annotations

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ inputs:
2121
description: "if set to true and the action runs on a pull request - the action outputs only newly found issues"
2222
default: false
2323
required: true
24+
skip-go-installation:
25+
description: "if set to true then the action uses pre-install Go"
26+
default: false
27+
required: true
2428

2529
runs:
2630
using: "node12"

0 commit comments

Comments
 (0)