refactor: updated code in all the CI pipelines #5 #195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code Inspector" | |
on: [push] | |
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: 'WARNING' | |
min_quality_score: '20' | |
max_defects_rate: '0.075' | |
max_complex_functions_rate: '0.5' | |
max_long_functions_rate: '0.4' | |
project_name: '' | |
max_timeout_sec: '300' |