Skip to content

Commit 2cd4369

Browse files
committed
Include extra config to make codeql respect manual build.
1 parent 948fb1a commit 2cd4369

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
with:
3737
languages: go
3838
config-file: .github/codeql/codeql-config.yml
39-
# If you wish to specify custom queries, you can do so here or in a config file.
40-
# By default, queries listed here will override any specified in a config file.
41-
# Prefix the list here with "+" to use these queries and those in the config file.
42-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
39+
build-model: manual
40+
dependency-caching: true
4341

4442
- name: Build for CodeQL
45-
run: go build -o manager ./cmd
43+
run: go build -o bin/manager ./cmd
4644

4745
- name: Perform CodeQL Analysis
4846
uses: github/codeql-action/analyze@v4
47+
with:
48+
category: '/language:go'

0 commit comments

Comments
 (0)