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
2020-12-31 11:20:57 -06:00
committed by GitHub
parent 89d96d6c20
commit e4e910b0ce
7 changed files with 31 additions and 7 deletions

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