Skip to content

Commit 72776e8

Browse files
aeisenbergshati-patel
authored andcommitted
Update the CLI versions to run integration tests against
1 parent d2d1a09 commit 72776e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
LATEST=`gh api repos/dsp-testing/codeql-cli-nightlies/releases --jq '.[].tag_name' --method GET --raw-field 'per_page=1'`
6868
echo "::set-output name=nightly-url::https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$LATEST"
69-
69+
7070
test:
7171
name: Test
7272
runs-on: ${{ matrix.os }}
@@ -151,7 +151,7 @@ jobs:
151151
strategy:
152152
matrix:
153153
os: [ubuntu-latest, windows-latest]
154-
version: ['v2.2.6', 'v2.3.3', 'v2.4.6', 'v2.5.7', 'nightly']
154+
version: ['v2.2.6', 'v2.3.3', 'v2.4.6', 'v2.5.8', 'nightly']
155155
env:
156156
CLI_VERSION: ${{ matrix.version }}
157157
NIGHTLY_URL: ${{ needs.find-nightly.outputs.url }}

extensions/ql-vscode/src/vscode-tests/ensureCli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { workspace } from 'vscode';
1212
* version. Note that for now, we must maintain the default version by hand.
1313
* This may be set to `nightly`, in which case the `NIGHTLY_URL` variable must
1414
* also be set.
15-
*
15+
*
1616
* - NIGHTLY_URL: The URL for a nightly release of the CodeQL CLI that will be
1717
* used if `CLI_VERSION` is set to `nightly`.
1818
*
@@ -44,7 +44,7 @@ const _10MB = _1MB * 10;
4444

4545
// CLI version to test. Hard code the latest as default. And be sure
4646
// to update the env if it is not otherwise set.
47-
const CLI_VERSION = process.env.CLI_VERSION || 'v2.5.5';
47+
const CLI_VERSION = process.env.CLI_VERSION || 'v2.5.8';
4848
process.env.CLI_VERSION = CLI_VERSION;
4949

5050
// Base dir where CLIs will be downloaded into

0 commit comments

Comments
 (0)