Skip to content

Commit 216d143

Browse files
committed
add code scan
1 parent f3e750e commit 216d143

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,21 @@ jobs:
6868
uses: github/codeql-action/autobuild@v2
6969
- name: Perform CodeQL Analysis
7070
uses: github/codeql-action/analyze@v2
71-
71+
72+
codacy-analysis-cli:
73+
name: Codacy Analysis CLI
74+
runs-on: ubuntu-latest
75+
steps:
76+
- name: Checkout code
77+
uses: actions/checkout@main
78+
- name: Run Codacy Analysis CLI
79+
uses: codacy/codacy-analysis-cli-action@v3
80+
with:
81+
output: results.sarif
82+
format: sarif
83+
gh-code-scanning-compat: true
84+
max-allowed-issues: 2147483647
85+
7286
smoke-test:
7387
name: Smoke Test
7488
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)