Skip to content

Commit

Permalink
Add pkcs11 Go build tag to CodeQL autobuild (#731)
Browse files Browse the repository at this point in the history
Allows CodeQL to scan Go files excluded by this build contraint.

Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday authored Jul 12, 2024
1 parent 38e76ff commit 1b56803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
env:
GOFLAGS: "-tags=pkcs11"
with:
working-directory: ${{ matrix.working-directory }}
- name: Perform CodeQL Analysis
Expand Down

0 comments on commit 1b56803

Please sign in to comment.