mirror of
https://github.com/nlohmann/json
synced 2024-11-30 07:30:06 +00:00
👷 add Code Inspector via GitHub Action
This commit is contained in:
parent
c24218afe8
commit
9bc2a7fa25
23
.github/workflows/codeinspector.yml
vendored
Normal file
23
.github/workflows/codeinspector.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: macOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
check-quality:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job to check my code quality
|
||||
steps:
|
||||
- name: Check code meets quality standards
|
||||
id: code-inspector
|
||||
uses: codeinspectorio/github-action@master
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }}
|
||||
code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }}
|
||||
min_quality_grade: 'EXCELLENT'
|
||||
min_quality_score: '50'
|
||||
max_defects_rate: '0.0001'
|
||||
max_complex_functions_rate: '0.0001'
|
||||
max_long_functions_rate: '0.0001'
|
||||
project_name: ''
|
||||
max_timeout_sec: '600'
|
Loading…
Reference in New Issue
Block a user