Files
yoga/.github/actions/clang-format/action.yml
Nick Gerleman 018ebe3d37 format
2022-10-14 07:40:52 -07:00

18 lines
379 B
YAML

name: Clang Format
inputs:
directory:
description: Directory to Lint
required: true
runs:
using: "composite"
steps:
- name: Install
shell: bash
run: sudo apt install clang-format-12 # This should be roughly in sync with Arcanist
- name: clang-format
shell: bash
run: clang-format-12
workingDirectory: ${{ inputs.directory }}