Remove toolcache decorator
This decorator enabled us to use the functionality of the Actions toolcache within the runner too. Now that we've deleted the runner we no longer need it.
This commit is contained in:
parent
ca8a203b51
commit
c736697abf
45 changed files with 132 additions and 892 deletions
|
|
@ -52,7 +52,6 @@ test("download codeql bundle cache", async (t) => {
|
|||
`https://example.com/download/codeql-bundle-${version}/codeql-bundle.tar.gz`,
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -82,7 +81,6 @@ test("download codeql bundle cache explicitly requested with pinned different ve
|
|||
"https://example.com/download/codeql-bundle-20200601/codeql-bundle.tar.gz",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -101,7 +99,6 @@ test("download codeql bundle cache explicitly requested with pinned different ve
|
|||
"https://example.com/download/codeql-bundle-20200610/codeql-bundle.tar.gz",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -126,7 +123,6 @@ test("don't download codeql bundle cache with pinned different version cached",
|
|||
"https://example.com/download/codeql-bundle-20200601/codeql-bundle.tar.gz",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -138,7 +134,6 @@ test("don't download codeql bundle cache with pinned different version cached",
|
|||
undefined,
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -165,7 +160,6 @@ test("download codeql bundle cache with different version cached (not pinned)",
|
|||
"https://example.com/download/codeql-bundle-20200601/codeql-bundle.tar.gz",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -192,7 +186,6 @@ test("download codeql bundle cache with different version cached (not pinned)",
|
|||
undefined,
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -219,7 +212,6 @@ test('download codeql bundle cache with pinned different version cached if "late
|
|||
"https://example.com/download/codeql-bundle-20200601/codeql-bundle.tar.gz",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -247,7 +239,6 @@ test('download codeql bundle cache with pinned different version cached if "late
|
|||
"latest",
|
||||
sampleApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.DOTCOM,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -302,7 +293,6 @@ test("download codeql bundle from github ae endpoint", async (t) => {
|
|||
undefined,
|
||||
sampleGHAEApiDetails,
|
||||
tmpDir,
|
||||
tmpDir,
|
||||
util.GitHubVariant.GHAE,
|
||||
getRunnerLogger(true),
|
||||
false
|
||||
|
|
@ -435,7 +425,6 @@ const stubConfig: Config = {
|
|||
paths: [],
|
||||
originalUserInput: {},
|
||||
tempDir: "",
|
||||
toolCacheDir: "",
|
||||
codeQLCmd: "",
|
||||
gitHubVersion: {
|
||||
type: util.GitHubVariant.DOTCOM,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue