This action is for executing static analysis on your repository using by clang-tidy. You can check defects in Files changed tab of Pull Request.
Optional keyword for excluding check
Optional pre-command which is executed before running clang-tidy
name: Static-Analysis
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
hello_world_job:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: run clang-tidy-action
uses: kimhyungrok/clang-tidy-action@v1.1
with:
exclude: "externals"
pre-command: "echo hello"