Skip to content

Commit b418302

Browse files
committed
Update github CI
Update github CI Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
1 parent f5abdba commit b418302

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
File renamed without changes.

.github/workflows/main.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,22 @@ jobs:
3131
- name: "🛠️ Install"
3232
run: sudo ./install.sh --yes
3333
- name: "🧹 Uninstall"
34-
run: sudo ./uninstall.sh --yes
34+
run: sudo ./uninstall.sh --yes
35+
check-quality:
36+
runs-on: ubuntu-latest
37+
name: A job to check my code quality
38+
steps:
39+
- name: Check code meets quality standards
40+
id: code-inspector
41+
uses: codeinspectorio/github-action@master
42+
with:
43+
repo_token: ${{ secrets.GITHUB_TOKEN }}
44+
code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }}
45+
code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }}
46+
min_quality_grade: 'WARNING'
47+
min_quality_score: '50'
48+
max_defects_rate: '0.0001'
49+
max_complex_functions_rate: '0.0001'
50+
max_long_functions_rate: '0.0001'
51+
project_name: ''
52+
max_timeout_sec: '600'

0 commit comments

Comments
 (0)