Skip to content

Commit 93cc408

Browse files
authored
Merge branch 'main' into aeisenberg/assert-version
2 parents 62ed83b + 3451259 commit 93cc408

File tree

80 files changed

+2962
-1249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+2962
-1249
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323

2424
- name: Initialize CodeQL
2525
uses: github/codeql-action/init@main

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
os: [ubuntu-latest, windows-latest]
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
with:
2121
fetch-depth: 1
2222

23-
- uses: actions/setup-node@v1
23+
- uses: actions/setup-node@v3
2424
with:
2525
node-version: '16.14.2'
2626

@@ -65,7 +65,7 @@ jobs:
6565
# This workflow step gets an unstable testing version of the CodeQL CLI. It should not be used outside of these tests.
6666
run: |
6767
LATEST=`gh api repos/dsp-testing/codeql-cli-nightlies/releases --jq '.[].tag_name' --method GET --raw-field 'per_page=1'`
68-
echo "::set-output name=nightly-url::https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$LATEST"
68+
echo "nightly-url=https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$LATEST" >> "$GITHUB_OUTPUT"
6969
7070
test:
7171
name: Test
@@ -76,11 +76,11 @@ jobs:
7676
os: [ubuntu-latest, windows-latest]
7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v2
79+
uses: actions/checkout@v3
8080
with:
8181
fetch-depth: 1
8282

83-
- uses: actions/setup-node@v1
83+
- uses: actions/setup-node@v3
8484
with:
8585
node-version: '16.14.2'
8686

@@ -144,17 +144,17 @@ jobs:
144144
strategy:
145145
matrix:
146146
os: [ubuntu-latest, windows-latest]
147-
version: ['v2.7.6', 'v2.8.5', 'v2.9.4', 'v2.10.5', 'v2.11.2', 'nightly']
147+
version: ['v2.7.6', 'v2.8.5', 'v2.9.4', 'v2.10.5', 'v2.11.3', 'nightly']
148148
env:
149149
CLI_VERSION: ${{ matrix.version }}
150150
NIGHTLY_URL: ${{ needs.find-nightly.outputs.url }}
151151
TEST_CODEQL_PATH: '${{ github.workspace }}/codeql'
152152

153153
steps:
154154
- name: Checkout
155-
uses: actions/checkout@v2
155+
uses: actions/checkout@v3
156156

157-
- uses: actions/setup-node@v1
157+
- uses: actions/setup-node@v3
158158
with:
159159
node-version: '16.14.2'
160160

@@ -180,10 +180,10 @@ jobs:
180180
else
181181
REF="codeql-cli/${{ matrix.version }}"
182182
fi
183-
echo "::set-output name=ref::$REF"
183+
echo "ref=$REF" >> "$GITHUB_OUTPUT"
184184
185185
- name: Checkout QL
186-
uses: actions/checkout@v2
186+
uses: actions/checkout@v3
187187
with:
188188
repository: github/codeql
189189
ref: ${{ steps.choose-ref.outputs.ref }}

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

23-
- uses: actions/setup-node@v1
23+
- uses: actions/setup-node@v3
2424
with:
2525
node-version: '16.14.2'
2626

@@ -47,11 +47,11 @@ jobs:
4747
# Record the VSIX path as an output of this step.
4848
# This will be used later when uploading a release asset.
4949
VSIX_PATH="$(ls dist/*.vsix)"
50-
echo "::set-output name=vsix_path::$VSIX_PATH"
50+
echo "vsix_path=$VSIX_PATH" >> "$GITHUB_OUTPUT"
5151
# Transform the GitHub ref so it can be used in a filename.
5252
# The last sed invocation is used for testing branches that modify this workflow.
5353
REF_NAME="$(echo ${{ github.ref }} | sed -e 's:^refs/tags/::' | sed -e 's:/:-:g')"
54-
echo "::set-output name=ref_name::$REF_NAME"
54+
echo "ref_name=$REF_NAME" >> "$GITHUB_OUTPUT"
5555
5656
- name: Upload artifacts
5757
uses: actions/upload-artifact@v2
@@ -107,7 +107,7 @@ jobs:
107107
# Bump to the next patch version. Major or minor version bumps will have to be done manually.
108108
# Record the next version number as an output of this step.
109109
NEXT_VERSION="$(npm version patch)"
110-
echo "::set-output name=next_version::$NEXT_VERSION"
110+
echo "next_version=$NEXT_VERSION" >> "$GITHUB_OUTPUT"
111111
112112
- name: Add changelog for next release
113113
if: success()
@@ -136,7 +136,7 @@ jobs:
136136
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
137137
steps:
138138
- name: Download artifact
139-
uses: actions/download-artifact@v2
139+
uses: actions/download-artifact@v3
140140
with:
141141
name: vscode-codeql-extension
142142

@@ -156,7 +156,7 @@ jobs:
156156
OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}
157157
steps:
158158
- name: Download artifact
159-
uses: actions/download-artifact@v2
159+
uses: actions/download-artifact@v3
160160
with:
161161
name: vscode-codeql-extension
162162

extensions/ql-vscode/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
- Warn users when their VS Code version is too old to support all features in the vscode-codeql extension. [#1674](https://github.com/github/vscode-codeql/pull/1674)
66

7+
## 1.7.5 - 8 November 2022
8+
9+
- Fix a bug where the AST Viewer was not working unless the associated CodeQL library pack is in the workspace. [#1735](https://github.com/github/vscode-codeql/pull/1735)
10+
711
## 1.7.4 - 29 October 2022
812

913
No user facing changes.

0 commit comments

Comments
 (0)