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:
Sergey Vilgelm authored and GitHub committed 2020-12-31 11:20:57 -06:00
1 parent 89d96d6c20
commit e4e910b0ce
7 files changed
+31 -7

No files matched your search

+4 -1
View File
@@ -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)
@@ -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