Skip to content

Commit

Permalink
Rust: use common config for analysis
Browse files Browse the repository at this point in the history
Now that the nightly bundle has the default query set, we don't need a special
inline config.
  • Loading branch information
Paolo Tranquilli committed Oct 31, 2024
1 parent 03ced17 commit c6585b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ paths-ignore:
- '/python/'
- '/javascript/ql/test'
- '/javascript/extractor/tests'
- '/rust/ql/test'
- '/rust/ql/integration-tests'
7 changes: 1 addition & 6 deletions .github/workflows/rust-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@ jobs:
with:
tools: ${{ steps.codeql.outputs.nightly_bundle }}
languages: ${{ matrix.language }}
config: |
disable-default-queries: true
queries:
- uses: security-and-quality
paths-ignore:
- '/rust/ql/tests'
config-file: ./.github/codeql/codeql-config.yml

- name: Autobuild
uses: github/codeql-action/autobuild@main
Expand Down

0 comments on commit c6585b7

Please sign in to comment.