Skip to content

Commit 393de98

Browse files
henrymercerCopilot
andcommitted
QL4QL: Install CodeQL with setup-codeql rather than init
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 36994cd commit 393de98

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

‎.github/workflows/ql-for-ql-build.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
fetch-depth: 0
2525
- name: Find codeql
2626
id: find-codeql
27-
uses: github/codeql-action/init@main
27+
uses: github/codeql-action/setup-codeql@main
2828
with:
29-
languages: javascript # does not matter
3029
tools: nightly
3130
- uses: ./.github/actions/os-version
3231
id: os_version

‎.github/workflows/ql-for-ql-dataset_measure.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929

3030
- name: Find codeql
3131
id: find-codeql
32-
uses: github/codeql-action/init@main
33-
with:
34-
languages: javascript # does not matter
32+
uses: github/codeql-action/setup-codeql@main
3533
- uses: ./.github/actions/os-version
3634
id: os_version
3735
- uses: actions/cache@v3

‎.github/workflows/ql-for-ql-tests.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
- uses: actions/checkout@v5
2828
- name: Find codeql
2929
id: find-codeql
30-
uses: github/codeql-action/init@main
30+
uses: github/codeql-action/setup-codeql@main
3131
with:
32-
languages: javascript # does not matter
3332
tools: nightly
3433
- uses: ./.github/actions/os-version
3534
id: os_version
@@ -73,9 +72,8 @@ jobs:
7372
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
7473
- name: Find codeql
7574
id: find-codeql
76-
uses: github/codeql-action/init@main
75+
uses: github/codeql-action/setup-codeql@main
7776
with:
78-
languages: javascript # does not matter
7977
tools: nightly
8078
- uses: ./.github/actions/os-version
8179
id: os_version

0 commit comments

Comments
 (0)