File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow requires that you have an existing account with codescan.io
2+ # For more information about configuring your workflow,
3+ # read our documentation at https://github.com/codescan-io/codescan-scanner-action
4+ name : CodeScan
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ # The branches below must be a subset of the branches above
11+ branches : [ master ]
12+
13+ jobs :
14+ CodeScan :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v2
19+ - name : Cache files
20+ uses : actions/cache@v2
21+ with :
22+ path : |
23+ ~/.sonar
24+ key : ${{ runner.os }}-sonar
25+ restore-keys : ${{ runner.os }}-sonar
26+ - name : Run Analysis
27+ uses : codescan-io/codescan-scanner-action@master
28+ with :
29+ login : ${{ secrets.CODESCAN_AUTH_TOKEN }}
30+ organization : ${{ secrets.CODESCAN_ORGANIZATION_KEY }}
31+ projectKey : ${{ secrets.CODESCAN_PROJECT_KEY }}
32+ - name : Upload SARIF file
33+ uses : github/codeql-action/upload-sarif@v1
34+ with :
35+ sarif_file : codescan.sarif
You can’t perform that action at this time.
0 commit comments