Skip to content

Commit

Permalink
Merge pull request #29 from ewanwm/feature_readme_linter_badge
Browse files Browse the repository at this point in the history
Update README.md to include cpp linter badge
  • Loading branch information
ewanwm authored Jul 25, 2024
2 parents 665779a + 9c28b99 commit 4c9d21e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cpp-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
cpp-linter:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c9d21e

Please sign in to comment.