Skip to content

Commit

Permalink
Add CodeQL as static analysis (dapr#8182)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
  • Loading branch information
artursouza authored Oct 9, 2024
1 parent 1f01043 commit 88bcdf2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/dapr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ permissions: {}

jobs:
lint:
name: lint & proto validation
name: static checks
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -59,6 +59,12 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3.25.12
with:
languages: go
queries: security-and-quality
ram: 4096
- name: Check white space in .md files
if: github.event_name == 'pull_request'
run: |
Expand Down Expand Up @@ -106,6 +112,11 @@ jobs:
rm -r protoc protoc-${{ env.PROTOC_VERSION }}-linux-x86_64.zip
make init-proto
make gen-proto check-proto-diff
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3.26.12
with:
ram: 4096


depcheck:
name: "Dependency Review"
Expand Down

0 comments on commit 88bcdf2

Please sign in to comment.