Skip to content

Commit

Permalink
Add CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
felickz authored Jul 29, 2024
1 parent 0f718cd commit 8b46c23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,18 @@ jobs:
run: pants --version
- name: Check Pants config files
run: pants tailor --check update-build-files --check '::'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: manual
- name: Lint and compile
run: pants lint check '::'
#run: pants lint check '::' --no-pantsd --no-local-cache
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"
- name: Test
run: pants test '::'
- name: Package / Run
Expand Down

0 comments on commit 8b46c23

Please sign in to comment.