-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only match test logs when annotate-test-logs is set
- Loading branch information
1 parent
8471dee
commit 9103a95
Showing
5 changed files
with
37 additions
and
8 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 |
---|---|---|
|
@@ -35,12 +35,6 @@ The performance improvements are achieved by: | |
with, but if you use one of those formats you can shave an additional half | ||
second off the time. | ||
|
||
### Annotations for test failures | ||
|
||
Setup-go-faster adds annotations for test failures so they show up in your | ||
pull request. As of [email protected], setup-go only adds annotations for | ||
build failures, not test failures. | ||
|
||
### Install tip | ||
|
||
Setup-go-faster will install go tip from source if you set `go-version: tip`. | ||
|
@@ -123,6 +117,13 @@ action will always check for a newer version available for download. Set this to | |
to enable. | ||
|
||
|
||
### annotate-test-logs | ||
|
||
If set to any non-empty value, logs output by tests will be annotated as test failures on your Pull Request. | ||
This is useful if the only logging your tests do is on error. If you use `t.Log` outside of test failures, | ||
you should not set this. | ||
|
||
|
||
## Outputs | ||
|
||
### GOCACHE | ||
|
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
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
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "go", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\s*(.+\\.go):(?:(\\d+):(?:(\\d+):)?)? (.*)", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"message": 4 | ||
} | ||
] | ||
} | ||
] | ||
} |