Skip to content

Commit 66ebfdf

Browse files
committed
Update non-generated tests
1 parent 619f0d6 commit 66ebfdf

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/debug-artifacts-legacy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
version:
27-
- stable-v2.13.5
2827
- stable-v2.14.6
2928
- stable-v2.15.5
3029
- stable-v2.16.6
3130
- stable-v2.17.6
31+
- stable-v2.18.4
3232
- default
3333
- linked
3434
- nightly-latest
@@ -73,7 +73,7 @@ jobs:
7373
- name: Check expected artifacts exist
7474
shell: bash
7575
run: |
76-
VERSIONS="stable-v2.13.5 stable-v2.14.6 stable-v2.15.5 stable-v2.16.6 stable-v2.17.6 default linked nightly-latest"
76+
VERSIONS="stable-v2.14.6 stable-v2.15.5 stable-v2.16.6 stable-v2.17.6 stable-v2.18.4 default linked nightly-latest"
7777
LANGUAGES="cpp csharp go java javascript python"
7878
for version in $VERSIONS; do
7979
pushd "./my-debug-artifacts-${version//./}"

.github/workflows/debug-artifacts.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
version:
26-
- stable-v2.13.5
2726
- stable-v2.14.6
2827
- stable-v2.15.5
2928
- stable-v2.16.6
3029
- stable-v2.17.6
30+
- stable-v2.18.4
3131
- default
3232
- linked
3333
- nightly-latest
@@ -72,7 +72,7 @@ jobs:
7272
- name: Check expected artifacts exist
7373
shell: bash
7474
run: |
75-
VERSIONS="stable-v2.13.5 stable-v2.14.6 stable-v2.15.5 stable-v2.16.6 stable-v2.17.6 default linked nightly-latest"
75+
VERSIONS="stable-v2.14.6 stable-v2.15.5 stable-v2.16.6 stable-v2.17.6 stable-v2.18.4 default linked nightly-latest"
7676
LANGUAGES="cpp csharp go java javascript python"
7777
for version in $VERSIONS; do
7878
pushd "./my-debug-artifacts-${version//./}"

lib/codeql.test.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/codeql.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ test("caches semantically versioned bundles using their semantic version number"
149149
await util.withTmpDir(async (tmpDir) => {
150150
setupActionsVars(tmpDir, tmpDir);
151151
const url = mockBundleDownloadApi({
152-
tagName: `codeql-bundle-v2.14.0`,
152+
tagName: `codeql-bundle-v2.15.0`,
153153
isPinned: false,
154154
});
155155
const result = await codeql.setupCodeQL(
@@ -165,8 +165,8 @@ test("caches semantically versioned bundles using their semantic version number"
165165
);
166166

167167
t.is(toolcache.findAllVersions("CodeQL").length, 1);
168-
t.assert(toolcache.find("CodeQL", `2.14.0`));
169-
t.is(result.toolsVersion, `2.14.0`);
168+
t.assert(toolcache.find("CodeQL", `2.15.0`));
169+
t.is(result.toolsVersion, `2.15.0`);
170170
t.is(result.toolsSource, ToolsSource.Download);
171171
if (result.toolsDownloadStatusReport) {
172172
assertDurationsInteger(t, result.toolsDownloadStatusReport);
@@ -409,7 +409,7 @@ test("bundle URL from another repo is cached as 0.0.0-bundleVersion", async (t)
409409
mockApiDetails(SAMPLE_DOTCOM_API_DETAILS);
410410
sinon.stub(actionsUtil, "isRunningLocalAction").returns(true);
411411
const releasesApiMock = mockReleaseApi({
412-
assetNames: ["cli-version-2.13.5.txt"],
412+
assetNames: ["cli-version-2.14.6.txt"],
413413
tagName: "codeql-bundle-20230203",
414414
});
415415
mockBundleDownloadApi({

0 commit comments

Comments
 (0)