Skip to content

Commit b44ad2d

Browse files
committed
Go: Add missing diagnostics.expected file
1 parent 7e10f21 commit b44ad2d

File tree

1 file changed

+31
-0
lines changed
  • go/ql/integration-tests/all-platforms/go/resolve-build-environment/newer-go-needed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"location": {
3+
"file": "go.mod"
4+
},
5+
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.22` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
6+
"severity": "warning",
7+
"source": {
8+
"extractorName": "go",
9+
"id": "go/autobuilder/invalid-go-toolchain-version",
10+
"name": "Invalid Go toolchain version"
11+
},
12+
"visibility": {
13+
"cliSummaryTable": true,
14+
"statusPage": true,
15+
"telemetry": true
16+
}
17+
}
18+
{
19+
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
20+
"severity": "note",
21+
"source": {
22+
"extractorName": "go",
23+
"id": "go/autobuilder/single-root-go-mod-found",
24+
"name": "A single `go.mod` file was found in the root"
25+
},
26+
"visibility": {
27+
"cliSummaryTable": false,
28+
"statusPage": false,
29+
"telemetry": true
30+
}
31+
}

0 commit comments

Comments
 (0)