-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
314e0d4
commit c5d1720
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ This action execute golint command and return the output if the command fail. | |
|
||
## Inputs | ||
|
||
### `golint-path` | ||
`golint-path` | ||
|
||
Path where your Go files are. | ||
This path will be used by golint command to check code of this files. | ||
|
@@ -16,11 +16,11 @@ remove it if you only want to check files of the given directory. | |
|
||
## Outputs | ||
|
||
### `golint-output` | ||
`golint-output` | ||
|
||
The golint output if the command fail. | ||
|
||
For example: | ||
For Example: | ||
|
||
```bash | ||
Found 6 lint suggestions; failing. | ||
|
@@ -35,7 +35,7 @@ models/Protection.go:3:6: exported type Protection should have comment or be une | |
## Example Usage | ||
|
||
```yaml | ||
uses: Jerome1337/[email protected].1 | ||
uses: Jerome1337/[email protected].2 | ||
with: | ||
golint-path: './src/...' | ||
```` |