From c6585b726a1c80ae9a62e25f528dfab9efa576be Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Thu, 31 Oct 2024 16:44:07 +0100 Subject: [PATCH] Rust: use common config for analysis Now that the nightly bundle has the default query set, we don't need a special inline config. --- .github/codeql/codeql-config.yml | 2 ++ .github/workflows/rust-analysis.yml | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index cbd1f33a7f66..f1f5ba9b6919 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -9,3 +9,5 @@ paths-ignore: - '/python/' - '/javascript/ql/test' - '/javascript/extractor/tests' + - '/rust/ql/test' + - '/rust/ql/integration-tests' diff --git a/.github/workflows/rust-analysis.yml b/.github/workflows/rust-analysis.yml index ef8264d1c833..04028ad594bc 100644 --- a/.github/workflows/rust-analysis.yml +++ b/.github/workflows/rust-analysis.yml @@ -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