Skip to content

Actions/Dev: Add clang_format_auto_fix param #2

Actions/Dev: Add clang_format_auto_fix param

Actions/Dev: Add clang_format_auto_fix param #2

Workflow file for this run

name: Lint
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- feature/action-lint
pull_request:
branches:
- feature/action-lint
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install ClangFormat
run: sudo apt-get install -y clang-format
- name: Run linters
uses: wearerequired/lint-action@v2.3.0
with:
clang_format: true
clang_format_auto_fix: true
auto_fix: true