mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
These changes make the tests work with the coming `codeql test` support. The `queries.xml` file defines which extractor the `codeql test` runner will use to extract databases for the tests. In the future one will be able to write this information in `qlpack.yml`, but we can't do that immediately because the _existing_ CodeQL tooling would refuse to parse a `qlpack.yml` that has the new field in it.
18 lines
380 B
YAML
18 lines
380 B
YAML
name: "go"
|
|
display_name: "Go"
|
|
version: 0.1.0
|
|
pull_request_triggers:
|
|
- "**/go.mod"
|
|
- "**/glide.yaml"
|
|
- "**/Gopkg.toml"
|
|
column_kind: "utf8"
|
|
extra_env_vars:
|
|
SOURCE_ARCHIVE: ${env.CODEQL_EXTRACTOR_GO_SOURCE_ARCHIVE_DIR}
|
|
TRAP_FOLDER: ${env.CODEQL_EXTRACTOR_GO_TRAP_DIR}
|
|
file_types:
|
|
- name: go
|
|
display_name: Go
|
|
extensions:
|
|
- .go
|
|
legacy_qltest_extraction: true
|