Skip to content

Commit eeab667

Browse files
authored
Add conde analysis & remove sonar (#41)
1 parent 25ef8c7 commit eeab667

2 files changed

Lines changed: 43 additions & 65 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Static Code Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- "new_*"
8+
paths-ignore:
9+
- "docs/**"
10+
- 'site/**'
11+
pull_request:
12+
branches:
13+
- master
14+
- "new_*"
15+
paths-ignore:
16+
- "docs/**"
17+
- 'site/**'
18+
# allow manually run the action:
19+
workflow_dispatch:
20+
21+
jobs:
22+
code-analyze:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
language: [ 'java', 'go', 'typescript' ]
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v3
35+
with:
36+
languages: ${{ matrix.language }}
37+
queries: +security-extended
38+
39+
- name: Auto Build
40+
uses: github/codeql-action/autobuild@v3
41+
42+
- name: Perform CodeQL Analysis
43+
uses: github/codeql-action/analyze@v3

.github/workflows/sonar.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)