diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 1f138689..1d2e06b9 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -1,12 +1,11 @@ -name: c-linter +workflow "on pull request, lint with clang-tidy " { + on = "pull_request" + resolves = ["clang-tidy"] +} -on: [pull_request] -jobs: - c-linter: - name: c-linter - runs-on: ubuntu-latest - steps: - - name: c-linter - uses: smay1613/clang-tidy-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +action "clang-tidy" { + uses = "muxee/clang-tidy-action@master" + secrets = ["GITHUB_TOKEN"] + + args = "-checks=*" +}