Skip to content

Fix 'Upload and tag as git tag with every release creation on master branch' on Publish GitHub pages job. #3

Fix 'Upload and tag as git tag with every release creation on master branch' on Publish GitHub pages job.

Fix 'Upload and tag as git tag with every release creation on master branch' on Publish GitHub pages job. #3

Workflow file for this run

name: Linters
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
cpp-linters:
name: "C++ linters"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run C++ linters
uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extensions: 'cpp,hpp'
style: 'file' # use .clang-format config file
tidy-checks: '-*' # disable clang-tidy checks
version: 18
- name: Fail fast
if: steps.linter.outputs.clang-format-checks-failed > 0
run: |
echo "::notice::Try executing 'python3 ./scripts/run_cpp_linters.py .' to fix linter issues."
exit 1