Build: add explicit build step for go codeql (#58195) (#58243)

* add explicit build step for go codeql

* support workflow_dispatch for codeql checks

* syntax fix

* enable on push to codeql-go branch

* test

* use go version from go.mod

* explicitly set go version

* tidy up, add workflow_dispatch support to all codeql actions

(cherry picked from commit da9c646f24)

Co-authored-by: Dan Cech <dcech@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-11-04 11:40:40 -04:00
committed by GitHub
co-authored by Dan Cech
parent f70d51c2c6
commit e4af9fba96
5 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/grafana/grafana
go 1.18
go 1.19
// Override xorm's outdated go-mssqldb dependency, since we can't upgrade to current xorm (due to breaking changes).
// We need a more current go-mssqldb so we get rid of a version of apache/thrift with vulnerabilities.