Make Go binary path check unconditional

This commit is contained in:
Michael B. Gale 2023-10-13 10:25:54 +01:00
parent 632d58cb60
commit 325a0b06e9
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
6 changed files with 78 additions and 58 deletions

5
lib/environment.js generated
View file

@ -52,9 +52,8 @@ var EnvVar;
*/
EnvVar["WORKFLOW_STARTED_AT"] = "CODEQL_WORKFLOW_STARTED_AT";
/**
* The path where we initially discovered the Go binary in the system path
* before replacing it with a wrapper script. We check this later to ensure
* that it hasn't been tampered with by a late e.g. `setup-go` step.
* The path where we initially discovered the Go binary in the system path.
* We check this later to ensure that it hasn't been tampered with by a late e.g. `setup-go` step.
*/
EnvVar["GO_BINARY_LOCATION"] = "CODEQL_ACTION_GO_BINARY";
})(EnvVar || (exports.EnvVar = EnvVar = {}));