diff --git a/.github/workflows/cpp-linter.yaml b/.github/workflows/cpp-linter.yaml index 9cc1c86..da26cb9 100644 --- a/.github/workflows/cpp-linter.yaml +++ b/.github/workflows/cpp-linter.yaml @@ -8,6 +8,7 @@ on: jobs: cpp-linter: + permissions: write-all runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -17,9 +18,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - style: file + ##style: file + format-review: true + tidy-review: true files-changed-only: false - thread-comments: false + thread-comments: true - name: Fail fast?! if: steps.linter.outputs.checks-failed != 0 diff --git a/README.md b/README.md index 7c01b9c..73fa0c5 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ nuTens is a software library which uses [tensors](https://en.wikipedia.org/wiki/ [![CI badge](https://github.com/ewanwm/nuTens/actions/workflows/CI-build-and-test.yml/badge.svg)](https://github.com/ewanwm/nuTens/actions/workflows/CI-build-and-test.yml) [![Code - Doxygen](https://img.shields.io/badge/Code-Doxygen-2ea44f)](https://ewanwm.github.io/nuTens/index.html) [![test - coverage](https://codecov.io/github/ewanwm/nuTens/graph/badge.svg?token=PJ8C8CX37O)](https://codecov.io/github/ewanwm/nuTens) +[![cpp - linter](https://github.com/ewanwm/nuTens/actions/workflows/cpp-linter.yaml/badge.svg)](https://github.com/ewanwm/nuTens/actions/workflows/cpp-linter.yaml/cpp-linter.yml) + ## Installation ### Requirements