mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
Go: Update newer-go-version-needed test
- Use a version that is accepted by Go tooling - Run is no longer successful with Go 1.21
This commit is contained in:
@@ -12,17 +12,3 @@
|
||||
"telemetry": true
|
||||
}
|
||||
}
|
||||
{
|
||||
"markdownMessage": "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).",
|
||||
"severity": "error",
|
||||
"source": {
|
||||
"extractorName": "go",
|
||||
"id": "go/autobuilder/newer-go-version-needed",
|
||||
"name": "Newer Go version needed"
|
||||
},
|
||||
"visibility": {
|
||||
"cliSummaryTable": true,
|
||||
"statusPage": true,
|
||||
"telemetry": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
os.environ['LGTM_INDEX_IMPORT_PATH'] = "test"
|
||||
run_codeql_database_create([], lang="go", source="work", db=None)
|
||||
run_codeql_database_create([], lang="go", source="work", db=None, runFunction=runUnsuccessfully)
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
go 999.0
|
||||
go 1.999.0
|
||||
|
||||
module test
|
||||
|
||||
Reference in New Issue
Block a user