Implement token iteration, resolves #7 (#69) #86
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: linter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cpp-linter/cpp-linter-action@main | |
id: linter | |
continue-on-error: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
style: file | |
files-changed-only: true | |
thread-comments: true | |
- name: Fail fast?! | |
if: steps.linter.outputs.checks-failed != 0 | |
run: | | |
echo "some linter checks failed. ${{ steps.linter.outputs.checks-failed }}" |