Skip to content

Add clang-format linter workflow #2

Add clang-format linter workflow

Add clang-format linter workflow #2

Workflow file for this run

name: Lint
on: [workflow_dispatch, pull_request]
jobs:
lint:
name: Lint
strategy:
matrix:
os: [large-ubuntu-22.04-xxl]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout everest-core
uses: actions/checkout@v3
with:
path: source
- name: Run clang-format
run: |
docker run \
--volume "$(pwd):/source" \
ghcr.io/everest/everest-clang-format:latest \
-r /source --extensions "hpp,cpp" -e "/source/cache"