mirror of https://github.com/actions/setup-go
Compare commits
4 Commits
6d13d2cdfa
...
2d591b9157
Author | SHA1 | Date |
---|---|---|
WillAbides | 2d591b9157 | |
Andy Brody | 99176a8f9a | |
Will Roden | 4dedda9ac2 | |
Will Roden | 643c7cb3e2 |
|
@ -8,6 +8,14 @@ This action sets up a go environment for use in actions by:
|
|||
- Optionally downloading and caching a version of Go by version and adding to `PATH`.
|
||||
- Registering problem matchers for error output.
|
||||
|
||||
# V5
|
||||
|
||||
The V5 edition of the action offers:
|
||||
|
||||
- Upgraded Node.js runtime from node16 to node20
|
||||
|
||||
See full release notes on the [releases page](https://github.com/actions/setup-go/releases).
|
||||
|
||||
# V4
|
||||
|
||||
The V4 edition of the action offers:
|
||||
|
|
|
@ -645,6 +645,16 @@ describe('setup-go', () => {
|
|||
expect(annotation.message).toBe('undefined: fmt.Printl');
|
||||
});
|
||||
|
||||
it('matches test output without a column', async () => {
|
||||
const line = '/path/to/main_test.go:13: expected true but got false';
|
||||
const annotation = testMatch(line);
|
||||
expect(annotation).toBeDefined();
|
||||
expect(annotation.line).toBe(13);
|
||||
expect(annotation.column).toBe(NaN);
|
||||
expect(annotation.file).toBe('/path/to/main_test.go');
|
||||
expect(annotation.message).toBe('expected true but got false');
|
||||
});
|
||||
|
||||
// 1.13.1 => 1.13.1
|
||||
// 1.13 => 1.13.0
|
||||
// 1.10beta1 => 1.10.0-beta.1, 1.10rc1 => 1.10.0-rc.1
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"owner": "go",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\s*(.+\\.go):(?:(\\d+):(\\d+):)? (.*)",
|
||||
"regexp": "^\\s*(.+\\.go):(?:(\\d+):(?:(\\d+):)?)? (.*)",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
|
|
Loading…
Reference in New Issue