diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e5f4bb2140f56..9b2367ebbc48e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -56,3 +56,18 @@ jobs: bazel run //rust/codegen git add . git diff --exit-code HEAD + rust-qltest: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install CodeQL + uses: ./.github/actions/fetch-codeql + - name: Build extractor + shell: bash + run: | + bazel run //rust:rust-installer + - name: Run QL test + shell: bash + run: | + codeql test run --search-path rust/extractor-pack --show-extractor-output --consistency-queries rust/ql/consistency-queries ./rust/ql/test/query-tests