8000 Rust: use common config for analysis · github/codeql@c6585b7 · GitHub
[go: up one dir, main page]

Skip to content
/ codeql Public

Commit c6585b7

Browse files
author
Paolo Tranquilli
committed
Rust: use common config for analysis
Now that the nightly bundle has the default query set, we don't need a special inline config.
1 parent 03ced17 commit c6585b7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/codeql/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ paths-ignore:
99
- '/python/'
1010
- '/javascript/ql/test'
1111
- '/javascript/extractor/tests'
12+
- '/rust/ql/test'
13+
- '/rust/ql/integration-tests'

.github/workflows/rust-analysis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ jobs:
5555
with:
5656
tools: ${{ steps.codeql.outputs.nightly_bundle }}
5757
languages: ${{ matrix.language }}
58-
config: |
59-
disable-default-queries: true
60-
queries:
61-
- uses: security-and-quality
62-
paths-ignore:
63-
- '/rust/ql/tests'
58+
config-file: ./.github/codeql/codeql-config.yml
6459

6560
- name: Autobuild
6661
uses: github/codeql-action/autobuild@main

0 commit comments

Comments
 (0)
0